Struct MotionExpansion
Namespace: Unity.Physics
Syntax
public struct MotionExpansion
Fields
Linear
Declaration
public float3 Linear
Field Value
| Type | Description |
|---|---|
| float3 |
Uniform
Declaration
public float Uniform
Field Value
| Type | Description |
|---|---|
| System.Single |
Zero
Declaration
public static readonly MotionExpansion Zero
Field Value
| Type | Description |
|---|---|
| MotionExpansion |
Properties
MaxDistance
Declaration
public float MaxDistance { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Methods
ExpandAabb(Aabb)
Declaration
public Aabb ExpandAabb(Aabb aabb)
Parameters
| Type | Name | Description |
|---|---|---|
| Aabb | aabb |
Returns
| Type | Description |
|---|---|
| Aabb |