Component:UpdateTransform

From Resonite Wiki
Component image 
Update Transform component as seen in the Scene Inspector

This article or section is a Stub. You can help the Resonite Wiki by expanding it. Update transform is part of the Undo system, and is used in the Undo Manager to allow undoing and redoing of moving an object.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
Target Slot The slot that was moved.
RestoreParent Bool Whether or not to restore the parent object.
RestorePosition Bool Whether or not to restore the position of the object.
RestoreRotation Bool Whether or not to restore the rotation of the object.
RestoreScale Bool Whether or not to restore the scale of the object.
ParentBefore Slot The parent slot that the object had before the move.
ParentAfter Slot The parent slot the object had after the move.
LocalPositionBefore Float3 The Local Position that the object had before the move.
LocalRotationBefore FloatQ The Local Rotation that the object had before the move.
LocalScaleBefore Float3 The Local Scale that the object had before the move.
GlobalPositionBefore Float3 The Global Position that the object had before the move.
GlobalRotationBefore FloatQ The Global Rotation that the object had before the move.
GlobalScaleBefore Float3 The Global Scale that the object had before the move.
LocalPositionAfter Float3 The Local Position the object had after the move.
LocalRotationAfter FloatQ The Local Rotation the object had after the move.
LocalScaleAfter Float3 The Local Scale the object had after the move.
GlobalPositionAfter Float3 The Global Position the object had after the move.
GlobalRotationAfter FloatQ The Global Rotation the object had after the move.
GlobalScaleAfter Float3 The Global Scale the object had after the move.
_performed Bool Whether the action is performed or it is in the future (due to undoing by the user.
_description String The description of this move action.

Usage

Examples

See Also