ドキュメント

Unity Engine

Unity Engine

Transform

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

Definition

Transform(PhysicsTransform)

Transform the geometry.
public readonly CapsuleGeometry Transform(PhysicsTransform transform)

Parameters

The geometry to transform with.

Returns

Type

Description

CapsuleGeometryThe transformed geometry.

Transform(Matrix4x4, bool)

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

Parameters

transform

The transform to be used on the geometry.

scaleRadius

Whether to scale the radius of the shape.

Returns

Type

Description

CapsuleGeometryThe transformed geometry.