기술 자료

Unity Engine

Unity Engine

CreateShapeProxy

Create a shape proxy from the geometry.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule

CreateShapeProxy()

Create a shape proxy from the geometry.
public readonly PhysicsShape.ShapeProxy CreateShapeProxy()

Returns

Type

Description

ShapeProxy

CreateShapeProxy(PhysicsTransform)

Create a shape proxy from the geometry, transformed by the specified transform.
public readonly PhysicsShape.ShapeProxy CreateShapeProxy(PhysicsTransform transform)

Parameters

The transform used to position the geometry.

Returns

Type

Description

ShapeProxy

CreateShapeProxy(Matrix4x4)

Create a shape proxy from the geometry, transformed by the specified transform.
public readonly PhysicsShape.ShapeProxy CreateShapeProxy(Matrix4x4 transform)

Parameters

transform

The transform used to position the geometry.

Returns

Type

Description

ShapeProxy