Create Transform Undo Step (LogiX node)
Create Transform Undo Step | ||
---|---|---|
Inputs | ||
Impulse | Create | |
Slot | Target | |
Bool | SaveParent | |
Bool | SavePosition | |
Bool | SaveRotation | |
Bool | SaveScale | |
Outputs | ||
Impulse | OnCreated |
The Create Transform Undo Step node creates an Undo Manager entry save point for the Target
spatial transform values when an impulse is received at Create
.
Usage
The SaveParent
input determines whether the Target
slot parent is saved as part of the undo entry. Default is true.
The SavePosition
input determines whether the Target
position is saved as part of the undo entry. Default is true.
The SaveRotation
input determines whether the Target
rotation is saved as part of the undo entry. Default is true.
The SaveScale
input determines whether the Target
scale is saved as part of the undo entry. Default is true.
The OnCreated
output fires an impulse when the Undo Manager entry has been successfully created. No impulse will be fired if there is no valid Target
set.
The Undo Manager entry is created for the owner of the impulse received at Create
. If this node is placed before any other nodes which alter the transform of the Target
an impulse chain, then the effects of those nodes will be undone if the user performs the Undo action from their radial context menu. The text displayed around the Undo button in the radial menu is "Moved" + the name of the Target
slot.
If SaveParent
is true, the Target
is returned to the same local transform as it held when the undo step was created. If instead SaveParent
is false, the Target
is returned to the global transform it held when the undo step was created.