unreal.RigVMFunction_MathTransformAccumulateArray

class unreal.RigVMFunction_MathTransformAccumulateArray(execute_context: RigVMExecuteContext = [], transforms: None = [], target_space: RigVMTransformSpace = Ellipsis, root: Transform = Ellipsis, parent_indices: None = [])

Bases: RigVMFunction_MathTransformMutableBase

Treats the provided transforms as a chain with global / local transforms, and projects each transform into the target space. Optionally you can provide a custom parent indices array, with which you can represent more than just chains.

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_MathTransform.h

Editor Properties: (see get_editor_property/set_editor_property)

  • execute_context (RigVMExecuteContext): [Read-Write] * This property is used to chain multiple mutable nodes together

  • parent_indices (Array[int32]): [Read-Write] If this array is the same size as the transforms array the indices will be used to look up each transform’s parent. They are expected to be in order.

  • root (Transform): [Read-Write] Provides the parent transform for the root

  • target_space (RigVMTransformSpace): [Read-Write] Defines the space to project to

  • transforms (Array[Transform]): [Read-Write]

property parent_indices: None

[Read-Write] If this array is the same size as the transforms array the indices will be used to look up each transform’s parent. They are expected to be in order.

Type:

(Array[int32])

property root: Transform

[Read-Write] Provides the parent transform for the root

Type:

(Transform)

property target_space: RigVMTransformSpace

[Read-Write] Defines the space to project to

Type:

(RigVMTransformSpace)

property transforms: None

[Read-Write]

Type:

(Array[Transform])