Impact CFX API 1.5.0
Comprehensive API documentation for Impact CFX - Collision Effects System
|
Interface for impact effect data that is suitable for jobs. More...
Public Member Functions | |
TResult | GetResult (CollisionInputData collisionData, MaterialCompositionData materialCompositionData, ImpactVelocityData velocityData, ref Random random) |
Gets an interaction result based on the given input collision data. | |
Properties | |
int | EffectID [get, set] |
Unique identifier for this effect. | |
ImpactTagMaskFilter | IncludeTags [get, set] |
Tags that must be present for the effect to be used. | |
ImpactTagMaskFilter | ExcludeTags [get, set] |
Tags that, if present, will make the effect not be used. | |
Interface for impact effect data that is suitable for jobs.
TResult | The type of result struct that this effect returns. |
TResult | : | struct | |
TResult | : | IEffectResult |
TResult ImpactCFX.IEffectData< TResult >.GetResult | ( | CollisionInputData | collisionData, |
MaterialCompositionData | materialCompositionData, | ||
ImpactVelocityData | velocityData, | ||
ref Random | random | ||
) |
Gets an interaction result based on the given input collision data.
collisionData | The collision data that will be used to calculate the result. |
materialCompositionData | The material data of the object being collided with. |
velocityData | The velocity of the collision. |
random | Reference to a Random generator for any randomness required by the effect. |