unreal.RigVMFunction_MathBoxGetDistance

class unreal.RigVMFunction_MathBoxGetDistance(box: Box = Ellipsis, position: Vector = Ellipsis, square: bool = False, valid: bool = False, distance: float = 0.0)

Bases: RigVMFunction_MathBoxBase

Returns the distance to a given box

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_MathBox.h

Editor Properties: (see get_editor_property/set_editor_property)

  • box (Box): [Read-Write]

  • distance (float): [Read-Write]

  • position (Vector): [Read-Write]

  • square (bool): [Read-Write] if true the distance will be returned square

  • valid (bool): [Read-Write]

property box: Box

[Read-Write]

Type:

(Box)

property distance: float

[Read-Only]

Type:

(float)

property position: Vector

[Read-Write]

Type:

(Vector)

property square: bool

[Read-Write] if true the distance will be returned square

Type:

(bool)

property valid: bool

[Read-Only]

Type:

(bool)