GetDensity()
Get the shape density. See _massConfiguration.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public float GetDensity()
Returns
Type | Description |
|---|---|
| float | The density of the shape. |