Interface TransformUpdater
- Namespace
- Flexalon
- Assembly
- Flexalon.dll
A transform updater determines how an object gets from its current position to the computed layout position.
public interface TransformUpdater
Methods
PreUpdate(FlexalonNode)
Called before the layout system starts updating any transforms. Use this to capture the transform position.
void PreUpdate(FlexalonNode node)
Parameters
nodeFlexalonNodeThe node being updated.
UpdatePosition(FlexalonNode, Vector3)
Called to update the position of the object.
bool UpdatePosition(FlexalonNode node, Vector3 position)
Parameters
nodeFlexalonNodeThe node being updated.
positionVector3The computed local position of the object.
Returns
- bool
UpdateRectSize(FlexalonNode, Vector2)
Called to update the rect of the object.
bool UpdateRectSize(FlexalonNode node, Vector2 rect)
Parameters
nodeFlexalonNodeThe node being updated.
rectVector2The computed rect of the object.
Returns
- bool
UpdateRotation(FlexalonNode, Quaternion)
Called to update the rotation of the object.
bool UpdateRotation(FlexalonNode node, Quaternion rotation)
Parameters
nodeFlexalonNodeThe node being updated.
rotationQuaternionThe computed local rotation of the object.
Returns
- bool
UpdateScale(FlexalonNode, Vector3)
Called to update the scale of the object.
bool UpdateScale(FlexalonNode node, Vector3 scale)
Parameters
nodeFlexalonNodeThe node being updated.
scaleVector3The computed local scale of the object.
Returns
- bool