Property | Type | Description | |
---|---|---|---|
footprintPrefabsInside | List |
||
footprintPrefabsOnEdge | List |
||
graph | Graph | ||
handPlacementEnabled | bool | ||
handPlacementOnEdge | bool |
Method | Description | |
---|---|---|
ClearUnmodifiedFootprints ( bool onEdge ) : void | ||
FillInsideWithFootprints ( ) : void | ||
FillWithEdgesWithFootprints ( ) : void | ||
GetFootprintPosAndRotAtTarget ( Vector3 target, Vector3 &pos, Quaternion &rot, Vector3 &closestPoint, int index, bool placeOnEdge = true, bool placeInside = true ) : void |
Gets position and rotation in given target position according to closest edge
|
|
GetRandomEdgeFootPrintIdx ( ) : int | ||
GetRandomInsideFootPrintIdx ( ) : int | ||
InstantiatedFootprintDestroyed ( Footprint, fp ) : void | ||
PlaceFootprint ( Vector3 worldPos, Quaternion rotation, int index, bool onEdge, bool modified = false ) : GameObject | ||
UpdateData ( ) : void |
Method | Description | |
---|---|---|
FootprintIsInsideGraph ( Footprint, footprint, Matrix4x4 footprintTRSMatrix ) : bool | ||
FootprintOverlapsOthers ( Footprint, footprint, Matrix4x4 footprintTRSMatrix ) : bool |
public ClearUnmodifiedFootprints ( bool onEdge ) : void | ||
onEdge | bool | |
return | void |
public FillWithEdgesWithFootprints ( ) : void | ||
return | void |
public GetFootprintPosAndRotAtTarget ( Vector3 target, Vector3 &pos, Quaternion &rot, Vector3 &closestPoint, int index, bool placeOnEdge = true, bool placeInside = true ) : void | ||
target | Vector3 | |
pos | Vector3 | |
rot | Quaternion | |
closestPoint | Vector3 | |
index | int | |
placeOnEdge | bool | Is footprint placed on the edge or on target? |
placeInside | bool | Is footprint placed inside or outside the edge? |
return | void |
public InstantiatedFootprintDestroyed ( Footprint, fp ) : void | ||
fp | Footprint, | |
return | void |
public PlaceFootprint ( Vector3 worldPos, Quaternion rotation, int index, bool onEdge, bool modified = false ) : GameObject | ||
worldPos | Vector3 | |
rotation | Quaternion | |
index | int | |
onEdge | bool | |
modified | bool | |
return | GameObject |