Property | Type | Description | |
---|---|---|---|
m_badQualityTransformParent | |||
m_cellVisualsPrefab | GameObject | ||
m_poseController | Transform | ||
m_qualityText | Text |
Method | Description | |
---|---|---|
GetBoundingBox ( Vector2 &minXZ, Vector2 &maxXZ ) : void |
Get the bounding box for the quality visualization in (X, Z) coordinates.
|
|
LateUpdate ( ) : void |
LateUpdate is called after all Update functions have been called.
|
|
OnEnable ( ) : void |
This function is called when the object becomes enabled and active.
|
Method | Description | |
---|---|---|
_CalculateQuality ( ) : float |
Calculate the quality of the current Area Description, as a percentage.
|
|
_DiscretizeTransform ( Transform t, int &cellX, int &cellZ, int &angleIndex ) : bool |
Discretize the transform into integral values. This returns true only if the transform is of good quality. A good quality transform is facing roughly forward, not looking too far down or too far up.
|
|
_InternCell ( int x, int z ) : QualityCell |
Get the cell for a specific coordinate, allocating new cells if necessary. Think string.Intern.
|
|
_UpdateVisuals ( QualityCell cell ) : void |
Update the visuals for a cell.
|
public GetBoundingBox ( Vector2 &minXZ, Vector2 &maxXZ ) : void | ||
minXZ | Vector2 | Returns the minimum (X, Z) coordinates of the visualization. |
maxXZ | Vector2 | Returns the maximum (X, Z) coordinates of the visualization. |
return | void |
public RectTransform,UnityEngine m_badQualityTransformParent | ||
return |