FAST SDK Coding Reference 1.0.3
|
Provides alignment adjustments to a Transform
using offsets.
More...
Public Attributes | |
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 | |
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 Transform
using offsets.
Use this on a GameObject
which may need to have its position, rotation, or scale adjusted at runtime. It is meant to be used with the AlignmentTool
prefab and FAST.AlignmentTransformSettings to load, edit, and save transform offsets.
Camera drawingCamera |
Inspector, Code
The camera to render AlignmentTool
visual highlight, label, and bounding box to.
For FAST.AlignmentTransform, the camera must be specified.
For FAST.AlignmentRectTransform, if the camera is null
the visuals are rendered as a screen space overlay.
|
protected |
Runtime
The initial position at runtime, which is set in the Editor.
|
protected |
Runtime
The initial rotation at runtime, which is set in the Editor.
|
protected |
Runtime
The initial scale at runtime, which is set in the Editor.
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.