|
Impact Interaction System API
|
The standard implementation of an Impact Material, applicable for most uses. More...
Public Member Functions | |
| override int | GetInteractionResultsNonAlloc< T > (T interactionData, IInteractionResult[] results) |
| Fills the results array with interaction results based on the given interaction data. More... | |
| override void | Preload () |
| Preloads data for all interaction sets. More... | |
| void | AddInteractionSet (ImpactMaterialInteractionSet item) |
| void | RemoveInteractionSet (int index) |
| void | ClearInteractionSets () |
| abstract int | GetInteractionResultsNonAlloc< T > (T interactionData, IInteractionResult[] results) |
| Fills out the results array with the interaction results created from the interaction data. More... | |
| abstract void | Preload () |
| Preloads any needed data and objects. More... | |
| int | GetInteractionResultsNonAlloc< T > (T data, IInteractionResult[] results) |
| Fills out the results array with the interaction results created from the interaction data. More... | |
| void | Preload () |
| Preloads any needed data and objects. More... | |
Properties | |
| ImpactTagMask | FallbackTagMask [get, set] |
| The tag mask to use if the input interaction data does not have one. | |
| int | InteractionSetCount [get] |
| ImpactMaterialInteractionSet | this[int index] [get, set] |
Properties inherited from Impact.Materials.ImpactMaterialBase | |
| ImpactTagLibraryBase | TagLibrary [get, set] |
| The tag library used for this material (only used in the editor). | |
| ImpactTagMask | MaterialTagsMask [get, set] |
| The tags defined for this material. More... | |
Properties inherited from Impact.Materials.IImpactMaterial | |
| ImpactTagMask | MaterialTagsMask [get] |
| The tags for this material. More... | |
The standard implementation of an Impact Material, applicable for most uses.
|
virtual |
Fills the results array with interaction results based on the given interaction data.
| interactionData | The interaction data to create results for. |
| results | An array to fill with interaction results. |
Implements Impact.Materials.ImpactMaterialBase.
|
virtual |
Preloads data for all interaction sets.
Implements Impact.Materials.ImpactMaterialBase.