ドキュメント

Unity Engine

Unity Engine

CastShapeInput

Create a default cast shape input.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

circleGeometry

The geometry to use.

translation

The cast translation to use.

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

capsuleGeometry

The geometry to use.

translation

The cast translation to use.

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

segmentGeometry

The geometry to use.

translation

The cast translation to use.

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

polygonGeometry

The geometry to use.

translation

The cast translation to use.

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

chainSegmentGeometry

The geometry to use.

translation

The cast translation to use.