unreal.RigVMFunction_StringPadInteger

class unreal.RigVMFunction_StringPadInteger(value: int = 0, digits: int = 0, result: str = '')

Bases: RigVMFunction_StringBase

Converts an integer number to a string with padding

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_String.h

Editor Properties: (see get_editor_property/set_editor_property)

  • digits (int32): [Read-Write] The number of digits in total to use (for example 3)

  • result (str): [Read-Write] The resulting string representing the padded integer (for example ‘004’)

  • value (int32): [Read-Write] The input number to convert to a string (for example 4)

property digits: int

[Read-Write] The number of digits in total to use (for example 3)

Type:

(int32)

property result: str

[Read-Only] The resulting string representing the padded integer (for example ‘004’)

Type:

(str)

property value: int

[Read-Write] The input number to convert to a string (for example 4)

Type:

(int32)