unreal.IntPoint?

class unreal.IntPoint(x=0, y=0)?

Bases: unreal.StructBase

Screen coordinates. The full C++ class is located here: EngineSourceRuntimeCorePublicMathIntPoint.h:

C++ Source:

  • Module: CoreUObject
  • File: NoExportTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • x (int32): [Read-Write] X
  • y (int32): [Read-Write] Y
DOWN = None?

(IntPoint) – Down Int Point (0, 1)

LEFT = None?

(IntPoint) – Left Int Point (-1, 0)

ONE = None?

(IntPoint) – One Int Point (1, 1)

RIGHT = None?

(IntPoint) – Right Int Point (1, 0)

UP = None?

(IntPoint) – Up Int Point (0, -1)

ZERO = None?

(IntPoint) – Zero Int Point (0, 0)

__add__(other)?

Overloads:

  • IntPoint Returns IntPoint A added by B
  • int32 Returns IntPoint A added by B
__div__(other)?

Overloads:

  • IntPoint Returns IntPoint A divided by B
  • int32 Returns IntPoint A divided by B
__eq__(other)?

Overloads:

  • IntPoint Returns true if IntPoint A is NOT equal to IntPoint B (A != B)
  • IntPoint Returns true if IntPoint A is equal to IntPoint B (A == B)
__iadd__(other)?

Overloads:

  • IntPoint Returns IntPoint A added by B
  • int32 Returns IntPoint A added by B
__idiv__(other)?

Overloads:

  • IntPoint Returns IntPoint A divided by B
  • int32 Returns IntPoint A divided by B
__imul__(other)?

Overloads:

  • IntPoint Returns IntPoint A multiplied by B
  • int32 Returns IntPoint A multiplied by B
__isub__(other)?

Overloads:

  • IntPoint Returns IntPoint A subtracted by B
  • int32 Returns IntPoint A subtracted by B
__mul__(other)?

Overloads:

  • IntPoint Returns IntPoint A multiplied by B
  • int32 Returns IntPoint A multiplied by B
__sub__(other)?

Overloads:

  • IntPoint Returns IntPoint A subtracted by B
  • int32 Returns IntPoint A subtracted by B
add(b) → IntPoint?

Returns IntPoint A added by B

Parameters:b (IntPoint) –
Returns:
Return type:IntPoint
add_int(b) → IntPoint?

Returns IntPoint A added by B

Parameters:b (int32) –
Returns:
Return type:IntPoint
divide(b) → IntPoint?

Returns IntPoint A divided by B

Parameters:b (IntPoint) –
Returns:
Return type:IntPoint
divide_int(b) → IntPoint?

Returns IntPoint A divided by B

Parameters:b (int32) –
Returns:
Return type:IntPoint
equals(b) → bool?

Returns true if IntPoint A is equal to IntPoint B (A == B)

Parameters:b (IntPoint) –
Returns:
Return type:bool
multiply(b) → IntPoint?

Returns IntPoint A multiplied by B

Parameters:b (IntPoint) –
Returns:
Return type:IntPoint
multiply_int(b) → IntPoint?

Returns IntPoint A multiplied by B

Parameters:b (int32) –
Returns:
Return type:IntPoint
not_equal(b) → bool?

Returns true if IntPoint A is NOT equal to IntPoint B (A != B)

Parameters:b (IntPoint) –
Returns:
Return type:bool
subtract(b) → IntPoint?

Returns IntPoint A subtracted by B

Parameters:b (IntPoint) –
Returns:
Return type:IntPoint
subtract_int(b) → IntPoint?

Returns IntPoint A subtracted by B

Parameters:b (int32) –
Returns:
Return type:IntPoint
vector2d() → Vector2D?

Convert an IntPoint to a Vector2D

Returns:
Return type:Vector2D
x?

(int32) – [Read-Write] X

y?

(int32) – [Read-Write] Y