unreal.RigVMFunction_MathDoubleToInt

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

Bases: RigVMFunction_MathDoubleBase

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

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_MathDouble.h

Editor Properties: (see get_editor_property/set_editor_property)

  • result (int32): [Read-Write]

  • value (double): [Read-Write]

property result: int

[Read-Only]

Type:

(int32)

property value: float

[Read-Write]

Type:

(double)