ドキュメント

Unity Engine

Unity Engine

Transform

Transform the specified geometry.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

Transform(PhysicsTransform)

Transform the specified geometry.
public readonly PolygonGeometry Transform(PhysicsTransform transform)

Parameters

The transform used to specify where the geometry is positioned.

Returns

Type

Description

PolygonGeometryThe transformed geometry.

Transform(Matrix4x4, bool)

Transform the specified geometry. The maximum absolute value component from the scale will be used to scale the PolygonGeometry.radius.
public readonly PolygonGeometry Transform(Matrix4x4 transform, bool scaleRadius)

Parameters

transform

The transform used to specify where the geometry is positioned.

scaleRadius

Whether to scale the radius of the shape.

Returns

Type

Description

PolygonGeometryThe transformed geometry.