Impact Interaction System API
|
An implementation of the IInteractionData interface. More...
Public Member Functions | |
IInteractionData | Clone () |
Create new interaction data with values copied from this interaction data. More... | |
override string | ToString () |
IInteractionData | Clone () |
Create new interaction data with values copied from this interaction data. More... | |
Properties | |
int | InteractionType [get, set] |
Integer representing the type of interaction such as Collision, Slide, Roll, and Simple. It is up to interactions to determine how this value affects the interaction. More... | |
Vector3 | Velocity [get, set] |
The velocity of the interaction. More... | |
Vector3 | Point [get, set] |
The contact point at which the interaction occured. More... | |
Vector3 | Normal [get, set] |
The normal of the surface where the interaction occured. More... | |
ImpactTagMask? | TagMask [get, set] |
The tags retrieved from the object we are interacting with, represented as an integer bitmask. This can be null if we were not able to get the object we are interacting with. More... | |
float | CompositionValue [get, set] |
If using material composition, a 0 to 1 value representing the influence of the material at the contact point. More... | |
int? | PriorityOverride [get, set] |
If specified, this will override the Priority value of the Impact Object. More... | |
GameObject | ThisObject [get, set] |
The object these parameters are being sent from. More... | |
GameObject | OtherObject [get, set] |
The object we are interacting with. More... | |
Properties inherited from Impact.IInteractionData | |
int | InteractionType [get, set] |
Integer representing the type of interaction such as Collision, Slide, Roll, and Simple. It is up to interactions to determine how this value affects the interaction. More... | |
Vector3 | Velocity [get, set] |
The Velocity of the interaction. More... | |
Vector3 | Point [get, set] |
The contact point at which the interaction occured. More... | |
Vector3 | Normal [get, set] |
The normal of the surface where the interaction occured. More... | |
ImpactTagMask? | TagMask [get, set] |
The tags retrieved from the object we are interacting with, represented as an integer bitmask. This can be null if we were not able to get the object being interacted with. More... | |
float | CompositionValue [get, set] |
If using material composition, a 0 to 1 value representing the influence of the material at the contact point. More... | |
int? | PriorityOverride [get, set] |
If specified, this will override the Priority value of the Impact Object. More... | |
GameObject | ThisObject [get, set] |
The object these parameters are being sent from. More... | |
GameObject | OtherObject [get, set] |
The object we are interacting with. More... | |
An implementation of the IInteractionData interface.
IInteractionData Impact.InteractionData.Clone | ( | ) |
Create new interaction data with values copied from this interaction data.
Implements Impact.IInteractionData.
|
getset |
If using material composition, a 0 to 1 value representing the influence of the material at the contact point.
Implements Impact.IInteractionData.
|
getset |
Integer representing the type of interaction such as Collision, Slide, Roll, and Simple. It is up to interactions to determine how this value affects the interaction.
Implements Impact.IInteractionData.
|
getset |
The normal of the surface where the interaction occured.
Implements Impact.IInteractionData.
|
getset |
The object we are interacting with.
Implements Impact.IInteractionData.
|
getset |
The contact point at which the interaction occured.
Implements Impact.IInteractionData.
|
getset |
If specified, this will override the Priority value of the Impact Object.
Implements Impact.IInteractionData.
|
getset |
The tags retrieved from the object we are interacting with, represented as an integer bitmask.
This can be null if we were not able to get the object we are interacting with.
Implements Impact.IInteractionData.
|
getset |
The object these parameters are being sent from.
Implements Impact.IInteractionData.
|
getset |
The velocity of the interaction.
Implements Impact.IInteractionData.