|
FAST SDK Coding Reference 1.0.5
|
Provides alignment adjustments to a RectTransform using offsets.
More...
Public Attributes | |
| Vector2 | offsetSize |
| Settings, Inspector, Code The offset added to the FAST.AlignmentRectTransform.initialSize. | |
| Canvas | parentCanvas |
| Runtime The canvas this RectTransform belongs to. | |
Public Attributes inherited from AlignmentTransform | |
| Camera | drawingCamera |
| Inspector, Code The camera to render AlignmentTool visual highlight, label, and bounding box to. | |
| Vector3 | offsetPosition |
| Settings, Inspector, Code The offset added to the FAST.AlignmentTransform.initialPosition. | |
| float | offsetRotation |
| Settings, Inspector, Code The Z-axis offset added to the FAST.AlignmentTransform.initialRotation. | |
| float | offsetScale |
| Settings, Inspector, Code The uniform offset added to the FAST.AlignmentTransform.initialScale. | |
Protected Attributes | |
| Vector2 | initialSize |
| Runtime The initial size at runtime, which is set in the Editor. | |
Protected Attributes inherited from AlignmentTransform | |
| Vector3 | initialPosition |
| Runtime The initial position at runtime, which is set in the Editor. | |
| Quaternion | initialRotation |
| Runtime The initial rotation at runtime, which is set in the Editor. | |
| Vector3 | initialScale |
| Runtime The initial scale at runtime, which is set in the Editor. | |
Provides alignment adjustments to a RectTransform using offsets.
Use this on a GameObject which may need to have its position, rotation, scale, or size adjusted at runtime. It is meant to be used with the AlignmentTool prefab and FAST.AlignmentRectTransformSettings to load, edit, and save transform offsets.
|
protected |
Runtime
The initial size at runtime, which is set in the Editor.
| Vector2 offsetSize |
Settings, Inspector, Code
The offset added to the FAST.AlignmentRectTransform.initialSize.
| Canvas parentCanvas |
Runtime
The canvas this RectTransform belongs to.