unreal.RigVMFunction_MathFloatRound

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

Bases: RigVMFunction_MathFloatBase

Returns the rounded value of the given float number

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_MathFloat.h

Editor Properties: (see get_editor_property/set_editor_property)

  • int (int32): [Read-Write] The result as an integer

  • result (float): [Read-Write] The rounded value of the given float number

  • value (float): [Read-Write] The input value to round

property int: int

[Read-Only] The result as an integer

Type:

(int32)

property result: float

[Read-Only] The rounded value of the given float number

Type:

(float)

property value: float

[Read-Write] The input value to round

Type:

(float)