IC8 Python API:RLPy RCustomValueArray

From Reallusion Wiki!
Jump to: navigation, search

Description

This class provides an ordered collection of custom values with operations to add, remove, resize, and access elements.

Constructor & Destructor

__init__ (self, *args)

Initializes a new custom value array instance.

Parameters

  • args

Member Functions

Add (self, *args)

Appends a value to this custom-value array.

Parameters

  • args

AssignTo (self, kTargetArray)

Assigns this array's values to the target custom-value array.

Parameters

  • kTargetArray

Clear (self, uCapacity=32)

Removes all values from this array.

Parameters

  • uCapacity (default: 32)

GetSize (self)

Returns the number of values in this array.

RemoveAt (self, uIndex)

Removes the value at the specified array index.

Parameters

  • uIndex

Resize (self, uSize)

Changes the number of elements in this array.

Parameters

  • uSize

SetCapacity (self, uSize)

Sets the storage capacity reserved for this array.

Parameters

  • uSize

__getitem__ (self, *args)

Returns the element at the specified index.

Parameters

  • args

Properties

thisown

Indicates whether this SWIG proxy owns the underlying C++ object.