메소드 | 설명 | |
---|---|---|
CompareTo ( |
||
PolygonShape ( Vertices vertices, float density ) : System.Diagnostics |
Initializes a new instance of the PolygonShape class.
|
|
PolygonShape ( float density ) : System.Diagnostics |
Create a new PolygonShape with the specified density.
|
|
clone ( ) : |
||
computeAABB ( AABB &aabb, Transform &transform, int childIndex ) : void |
Given a transform, compute the associated axis aligned bounding box for a child shape.
|
|
computeSubmergedArea ( |
||
rayCast ( RayCastOutput &output, RayCastInput &input, Transform &transform, int childIndex ) : bool | ||
setVerticesNoCopy ( Vertices verts ) : void |
sets the vertices without copying over the data from verts to the local List.
|
|
testPoint ( Transform &transform, |
메소드 | 설명 | |
---|---|---|
computeProperties ( ) : void |
메소드 | 설명 | |
---|---|---|
PolygonShape ( ) : System.Diagnostics |
public PolygonShape ( Vertices vertices, float density ) : System.Diagnostics | ||
vertices | Vertices | The vertices. |
density | float | The density. |
리턴 | System.Diagnostics |
public PolygonShape ( float density ) : System.Diagnostics | ||
density | float | The density. |
리턴 | System.Diagnostics |
public computeAABB ( AABB &aabb, Transform &transform, int childIndex ) : void | ||
aabb | AABB | The aabb results. |
transform | Transform | The world transform of the shape. |
childIndex | int | The child shape index. |
리턴 | void |
public computeSubmergedArea ( |
||
normal | ||
offset | float | |
xf | Transform | |
sc | ||
리턴 | float |
public rayCast ( RayCastOutput &output, RayCastInput &input, Transform &transform, int childIndex ) : bool | ||
output | RayCastOutput | |
input | RayCastInput | |
transform | Transform | |
childIndex | int | |
리턴 | bool |
public setVerticesNoCopy ( Vertices verts ) : void | ||
verts | Vertices | Verts. |
리턴 | void |
public testPoint ( Transform &transform, |
||
transform | Transform | |
point | ||
리턴 | bool |