CastShapeInput
Create a default cast shape input.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Constructor
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
CastShapeInput()
Create a default cast shape input.
public CastShapeInput()
CastShapeInput(CircleGeometry, Vector2)
Create a CastShapeInput the specified CircleGeometry. You may want to also translate the geometry into the space you require.
public CastShapeInput(CircleGeometry circleGeometry, Vector2 translation)
Parameters
CastShapeInput(CapsuleGeometry, Vector2)
Create a CastShapeInput the specified CapsuleGeometry. You may want to also translate the geometry into the space you require.
public CastShapeInput(CapsuleGeometry capsuleGeometry, Vector2 translation)
Parameters
CastShapeInput(SegmentGeometry, Vector2)
Create a CastShapeInput the specified SegmentGeometry. You may want to also translate the geometry into the space you require.
public CastShapeInput(SegmentGeometry segmentGeometry, Vector2 translation)
Parameters
CastShapeInput(PolygonGeometry, Vector2)
Create a CastShapeInput the specified PolygonGeometry. You may want to also translate the geometry into the space you require.
public CastShapeInput(PolygonGeometry polygonGeometry, Vector2 translation)
Parameters
CastShapeInput(ChainSegmentGeometry, Vector2)
Create a CastShapeInput the specified ChainSegmentGeometry. You may want to also translate the geometry into the space you require.
public CastShapeInput(ChainSegmentGeometry chainSegmentGeometry, Vector2 translation)
Parameters
The geometry to use.
The cast translation to use.