Свойство | Тип | Описание | |
---|---|---|---|
Filter | |||
IsSensor | bool | ||
Proxies | Box2D.Dynamics.FixtureProxy[] | ||
ProxyCount | int |
Метод | Описание | |
---|---|---|
Create ( |
||
CreateProxies ( |
||
Destroy ( ) : void | ||
DestroyProxies ( |
Internal method
|
|
Dump ( int bodyIndex ) : void |
Dump this fixture to the log file.
|
|
Fixture ( ) : System | ||
GetAABB ( int childIndex ) : |
Get the fixture's AABB. This AABB may be enlarge and/or stale. If you need a more accurate AABB, compute it using the shape and the body transform.
|
|
GetMassData ( |
Get the mass data for this fixture. The mass data is based on the density and the shape. The rotational inertia is about the shape's origin.
|
|
Raycast ( |
Cast a ray against this shape.
|
|
Refilter ( ) : void |
Call this if you want to establish collision that was previously disabled by ContactFilter::ShouldCollide.
|
|
TestPoint ( |
Test a point for containment in this fixture. This only works for convex shapes.
|
Метод | Описание | |
---|---|---|
Synchronize ( |
Internal method
|
public Create ( |
||
body | ||
def | ||
Результат | void |
public CreateProxies ( |
||
broadPhase | ||
xf | ||
Результат | void |
public DestroyProxies ( |
||
broadPhase | ||
Результат | void |
public GetAABB ( int childIndex ) : |
||
childIndex | int | |
Результат |
public GetMassData ( |
||
massData | ||
Результат | void |
public Raycast ( |
||
output | the ray-cast results. | |
input | the ray-cast input parameters. | |
childIndex | int | |
Результат | bool |
protected Synchronize ( |
||
broadPhase | ||
transform1 | ||
transform2 | ||
Результат | void |
public TestPoint ( |
||
p | a point in world coordinates. | |
Результат | bool |
public FixtureProxy[],Box2D.Dynamics Proxies | ||
Результат | Box2D.Dynamics.FixtureProxy[] |