Validate()
Get a validated version of the geometry, if possible.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public readonly CapsuleGeometry Validate()
Returns
Type | Description |
|---|---|
| CapsuleGeometry | A validated copy of the geometry with an updated length and radius if required. See CapsuleGeometry.isValid. |