◆ State()
◆ ClearAutoTransition()
| constexpr void RavEngine::AnimatorComponent::State::ClearAutoTransition |
( |
| ) |
|
|
inlineconstexpr |
Clear any active auto transition.
◆ SetAutoTransition()
| constexpr void RavEngine::AnimatorComponent::State::SetAutoTransition |
( |
decltype(ID) |
id | ) |
|
|
inlineconstexpr |
When this animation completes, it will automatically transition to the state provided to this call.
- Note
- if this state is looping, it will never automatically leave.
- Parameters
-
| id | the numeric ID to transition to. The blending curve and rules use SetTransition as normal. |
◆ SetBeginCallback()
| void RavEngine::AnimatorComponent::State::SetBeginCallback |
( |
const decltype(beginCallback)& |
bc | ) |
|
|
inline |
Set the function to call when this state begins.
- Parameters
-
| bc | function taking one parameter representing the ID of the previous state. This may be invalid the first time it is called. |
◆ SetEndCallback()
| void RavEngine::AnimatorComponent::State::SetEndCallback |
( |
const decltype(endCallback)& |
ec | ) |
|
|
inline |
Set the function to call when this state ends (has finished playing, or is interrupted and moving to a new state).
- Parameters
-
| bc | function taking one parameter representing the ID of the next state. If the state machine is not transitioning, the ID will be that of the current state. |
The documentation for this struct was generated from the following file: