Astra Unity 2.6.6
Astra Unity Plugin
|
Public Member Functions | |
void | OnBeforeSerialize () |
void | OnAfterDeserialize () |
void | CopyValues (AstraTransform other) |
Copies all data except parent/ownership More... | |
void | SetParentInPlace (AstraTransform parentNode) |
Static Public Member Functions | |
static AstraTransformGraph | BuildHierarchyMapFromRig (PrimitiveRig rig) |
static AstraTransformGraph | BuildHierarchyMapFromRig (Astra.Asset.RigTarget source, PrimitiveRigTarget target) |
static AstraTransformGraph | BuildHierarchyMapFromRig (AstraTransformGraph source, PrimitiveRigTarget target) |
static AstraTransformGraph | BuildHierarchyMapFromRig (PrimitiveRig rig, PrimitiveRigTarget target) |
Public Attributes | |
string | id |
string | name |
AstraTransform | _parent = null |
string | parentId = null |
List< AstraTransform > | children = new List<AstraTransform>() |
Protected Member Functions | |
void | SyncChildren (AstraTransform currentTransform) |
Properties | |
bool | Frozen [getset] |
AstraTransform | parent [getset] |
Vector3 | localScale [getset] |
Vector3?? | localPosition [getset] |
Vector3? | position [getset] |
Quaternion? | localRotation [getset] |
Quaternion? | rotation [getset] |
Matrix4x4 | worldToLocalMatrix [get] |
int | childCount [get] |
Vector3 | eulerAngles [getset] |
AstraTransform | root [get] |
Attempts to provide functionality identical to UnityEngine.Transform but w/o gameobjects This means it can be used in threads
|
inline |
Copies all data except parent/ownership
other |
|
inlineprotected |
Recalculates all childrens world positions based on the current node