CastShapeInput
Create a default cast shape input.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Constructor
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
CastShapeInput()
Create a default cast shape input.
public CastShapeInput()
CastShapeInput(CircleGeometry, Vector2)
Create a CastShapeInput the specified CircleGeometry. You should transform the geometry into the space you require.
public CastShapeInput(CircleGeometry circleGeometry, Vector2 translation)
Parameters
CastShapeInput(CapsuleGeometry, Vector2)
Create a CastShapeInput the specified CapsuleGeometry. You should transform the geometry into the space you require.
public CastShapeInput(CapsuleGeometry capsuleGeometry, Vector2 translation)
Parameters
CastShapeInput(SegmentGeometry, Vector2)
Create a CastShapeInput the specified SegmentGeometry. You should transform the geometry into the space you require.
public CastShapeInput(SegmentGeometry segmentGeometry, Vector2 translation)
Parameters
CastShapeInput(PolygonGeometry, Vector2)
Create a CastShapeInput the specified PolygonGeometry. You should transform the geometry into the space you require.
public CastShapeInput(PolygonGeometry polygonGeometry, Vector2 translation)
Parameters
CastShapeInput(ChainSegmentGeometry, Vector2)
Create a CastShapeInput the specified ChainSegmentGeometry. You should transform the geometry into the space you require.
public CastShapeInput(ChainSegmentGeometry chainSegmentGeometry, Vector2 translation)
Parameters
The geometry to use.
The cast translation to use.