Moves this occurrence from it's current component into the component owned by the specified occurrence. This occurrence and the target occurrence must be in the same context.
"occurrence_var" is a variable referencing an Occurrence object.
|
"occurrence_var" is a variable referencing an Occurrence object.
|
Type | Description |
Occurrence | Returns the moved Occurrence or null in the case the move failed. |
Name | Type | Description |
targetOccurrence | Occurrence | The target occurrence defines both the component and the transform to apply when moving the occurrence. The occurrence will be copied into the parent component of the target occurrence and the target occurrence also defines the transform of how the occurrence will be copied so that the occurrence maintains it's same position in model space. |