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_MathBoxBaseReturns 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] The box to measure the distance todistance(float): [Read-Write] The distance between the box and the positionposition(Vector): [Read-Write] The position to measure the distance tosquare(bool): [Read-Write] if true the distance will be returned squarevalid(bool): [Read-Write] Returns true if the computed distance is valid