Transform
Transform the geometry.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
Transform(PhysicsTransform)
Transform the geometry.
public readonly CircleGeometry Transform(PhysicsTransform transform)
Parameters
The geometry to transform with.
Returns
Type | Description |
|---|---|
| CircleGeometry | The transformed geometry. |
Transform(Matrix4x4, bool)
Transform the geometry. The maximum absolute value component from the scale will be used to scale the CircleGeometry.radius.
public readonly CircleGeometry Transform(Matrix4x4 transform, bool scaleRadius)
Parameters
Returns
Type | Description |
|---|---|
| CircleGeometry | The transformed geometry. |