프로퍼티 | 타입 | 설명 | |
---|---|---|---|
footprintPrefabsInside | List |
||
footprintPrefabsOnEdge | List |
||
graph | Graph | ||
handPlacementEnabled | bool | ||
handPlacementOnEdge | bool |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
FootprintIsInsideGraph ( Footprint, footprint, Matrix4x4 footprintTRSMatrix ) : bool | ||
FootprintOverlapsOthers ( Footprint, footprint, Matrix4x4 footprintTRSMatrix ) : bool |
public ClearUnmodifiedFootprints ( bool onEdge ) : void | ||
onEdge | bool | |
리턴 | 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? |
리턴 | void |
public InstantiatedFootprintDestroyed ( Footprint, fp ) : void | ||
fp | Footprint, | |
리턴 | 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 | |
리턴 | GameObject |