Impact Interaction System API
|
Contains a list of interactions and filters for using the interactions. More...
Classes | |
struct | TagMaskFilter |
Filter for comparing tag masks. More... | |
Public Member Functions | |
bool | CompareTagMaskFilters (ImpactTagMask tagMask) |
Compares the given tag mask to the include and exclude tag filters. More... | |
void | Preload () |
Preload any needed data or objects. | |
void | AddInteraction (ImpactInteractionBase impactInteraction) |
Adds a new interaction. More... | |
void | RemoveInteraction (int index) |
Removes the interaction at the given index. More... | |
Properties | |
string | Name [get, set] |
User-friendly name for this interaction set. | |
TagMaskFilter | IncludeTagsFilter [get, set] |
Tags that should be matched for this interaction set to be used. | |
TagMaskFilter | ExcludeTagsFilter [get, set] |
Tags that, if matched, will cause this interaction set to be ignored. | |
int | InteractionCount [get] |
The number of interactions this set contains. | |
ImpactInteractionBase | this[int index] [get, set] |
Contains a list of interactions and filters for using the interactions.
void Impact.Materials.ImpactMaterialInteractionSet.AddInteraction | ( | ImpactInteractionBase | impactInteraction | ) |
Adds a new interaction.
index |
bool Impact.Materials.ImpactMaterialInteractionSet.CompareTagMaskFilters | ( | ImpactTagMask | tagMask | ) |
Compares the given tag mask to the include and exclude tag filters.
tagMask | The tag mask to compare. |
void Impact.Materials.ImpactMaterialInteractionSet.RemoveInteraction | ( | int | index | ) |
Removes the interaction at the given index.
index |