Struct ModifiableBodyPair
A modifiable body pair.
Inherited Members
Namespace: Unity.Physics
Syntax
public struct ModifiableBodyPair
Properties
BodyIndexA
Gets the body index a.
Declaration
public readonly int BodyIndexA { get; }
Property Value
Type | Description |
---|---|
Int32 | The body index a. |
BodyIndexB
Gets the body index b.
Declaration
public readonly int BodyIndexB { get; }
Property Value
Type | Description |
---|---|
Int32 | The body index b. |
EntityA
Gets the entity a.
Declaration
public readonly Entity EntityA { get; }
Property Value
Type | Description |
---|---|
Entity | The entity a. |
EntityB
Gets the entity b.
Declaration
public readonly Entity EntityB { get; }
Property Value
Type | Description |
---|---|
Entity | The entity b. |
Methods
Disable()
Disables this pair.
Declaration
public void Disable()