기술 자료

Unity Engine

Unity Engine

CastShapeInput

Create a default cast shape input.
읽는 시간 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.