Struct PhysicsOverlapPolygon2DRequest
Describes one pure 2D convex polygon overlap by referencing a flat vertex buffer.
public readonly struct PhysicsOverlapPolygon2DRequest
- Inherited Members
Constructors
PhysicsOverlapPolygon2DRequest(int, int)
Creates a pure 2D convex-polygon overlap request against all physics layers.
public PhysicsOverlapPolygon2DRequest(int vertexStart, int vertexCount)
Parameters
PhysicsOverlapPolygon2DRequest(int, int, PhysicsLayerMask)
Creates a pure 2D convex-polygon overlap request with an include layer mask.
public PhysicsOverlapPolygon2DRequest(int vertexStart, int vertexCount, PhysicsLayerMask layerMask)
Parameters
vertexStartintvertexCountintlayerMaskPhysicsLayerMask
Properties
LayerMask
Gets the included physics layers.
public PhysicsLayerMask LayerMask { get; }
Property Value
VertexCount
Gets the number of polygon vertices in the shared vertex buffer.
public int VertexCount { get; }
Property Value
VertexStart
Gets the first polygon vertex index in the batch's shared vertex buffer.
public int VertexStart { get; }