unreal.RigVMFunction_MathFloatToInt

class unreal.RigVMFunction_MathFloatToInt(value: float = 0.0, result: int = 0)

Bases: RigVMFunction_MathFloatBase

Returns the float cast to an int (this uses floor)

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_MathFloat.h

Editor Properties: (see get_editor_property/set_editor_property)

  • result (int32): [Read-Write]

  • value (float): [Read-Write]

property result: int

[Read-Only]

Type:

(int32)

property value: float

[Read-Write]

Type:

(float)