Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

CapsuleGeometry.Transform

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Parameters

Parameter Description
transform The geometry to transform with.

Returns

CapsuleGeometry The transformed geometry.

Description

Transform the geometry.


Declaration

public LowLevelPhysics2D.CapsuleGeometry Transform(Matrix4x4 transform, bool scaleRadius);

Parameters

Parameter Description
transform The transform to be used on the geometry.
scaleRadius Whether to scale the radius of the shape.

Returns

CapsuleGeometry The transformed geometry.

Description

Transform the geometry. The maximum absolute value component from the scale will be used to scale the CapsuleGeometry.radius.