unreal.RigUnit_StringTruncate
¶
- class unreal.RigUnit_StringTruncate(name: str = '', count: int = 0, from_end: bool = False, remainder: str = '', chopped: str = '')¶
Bases:
RigUnit_StringBase
Returns the left or right most characters from the string chopping the given number of characters from the start or the end
C++ Source:
Plugin: ControlRig
Module: ControlRig
File: RigUnit_String.h
Editor Properties: (see get_editor_property/set_editor_property)
chopped
(str): [Read-Write] Chopped: the part of the name that has been chopped offcount
(int32): [Read-Write] Count: Number of characters to remove from left or rightfrom_end
(bool): [Read-Write] From End: if set to true the characters will be removed from the endname
(str): [Read-Write] Nameremainder
(str): [Read-Write] Remainder: the part of the string without the chopped characters
- property chopped: str¶
[Read-Only] Chopped: the part of the name that has been chopped off
- Type:
(str)
- property count: int¶
[Read-Write] Count: Number of characters to remove from left or right
- Type:
(int32)