Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


InverseTransform

Inverse-Transform the geometry.
Read time 1 minuteLast updated 13 days ago

Definition

InverseTransform(PhysicsTransform)

Inverse-Transform the geometry.
public readonly CircleGeometry InverseTransform(PhysicsTransform transform)

Parameters

The geometry to transform with.

Returns

Type

Description

CircleGeometryThe inverse-transformed geometry.

InverseTransform(Matrix4x4, bool)

Inverse-Transform the geometry. The maximum (minimum in the inverse) absolute value component from the scale will be used to scale the CircleGeometry.radius.
public readonly CircleGeometry InverseTransform(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

CircleGeometryThe inverse-transformed geometry.