PhysicsIntersectShapeResult3D
Stores the results of a shape intersection query.
Stores the results of a shape intersection query.
This class contains the intersection information produced by PhysicsDirectSpaceState3D.IntersectShapeInto.
It can store multiple intersections, up to a user-defined maximum.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
PhysicsIntersectShapeResult3DConstructor
public PhysicsIntersectShapeResult3D();Properties1
MaxIntersectionsProperty
public int MaxIntersections { get; set; }The maximum number of intersections this result object can store.
Methods7
GetColliderReckfellObject
public ReckfellObject GetCollider(int intersectionIndex);The colliding object.
| Name | Type | Default |
|---|---|---|
intersectionIndex | int | — |
Returns
ReckfellObjectGetColliderIdulong
public ulong GetColliderId(int intersectionIndex);The colliding object's ID.
| Name | Type | Default |
|---|---|---|
intersectionIndex | int | — |
Returns
ulongGetColliderRidRid
public Rid GetColliderRid(int intersectionIndex);The intersecting object's Rid.
| Name | Type | Default |
|---|---|---|
intersectionIndex | int | — |
Returns
RidGetColliderShapeint
public int GetColliderShape(int intersectionIndex);The shape index of the colliding shape.
| Name | Type | Default |
|---|---|---|
intersectionIndex | int | — |
Returns
intGetIntersectionCountint
public int GetIntersectionCount();Returns the number of shapes that intersect with the query shape.
Returns
intGetMaxIntersectionsint
public int GetMaxIntersections();Returns
intSetMaxIntersectionsvoid
public void SetMaxIntersections(int maxIntersections);| Name | Type | Default |
|---|---|---|
maxIntersections | int | — |
Reckfell Engine documentationBack to top ↑