Table of Contents

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

node FlexalonNode

The node being updated.

UpdatePosition(FlexalonNode, Vector3)

Called to update the position of the object.

bool UpdatePosition(FlexalonNode node, Vector3 position)

Parameters

node FlexalonNode

The node being updated.

position Vector3

The 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

node FlexalonNode

The node being updated.

rect Vector2

The 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

node FlexalonNode

The node being updated.

rotation Quaternion

The 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

node FlexalonNode

The node being updated.

scale Vector3

The computed local scale of the object.

Returns

bool