Enfusion Script API
Loading...
Searching...
No Matches
Protected Member Functions | List of all members
BaseWeatherTransitionCallbacks Interface Reference

Protected Member Functions

void OnStateSetImmediately ()
 Called ONLY after weather is computed (Mainly probes & cloud shadowmap) after a call to RequestStateTransitionImmediately.
 
void OnNewTransitionSet (WeatherStateTransitionNode oldTransition, WeatherStateTransitionNode newTransition)
 Called when transition finishes and a new node is dequeued from the state transition queue.
 
void OnTransitionStarted (WeatherStateTransitionNode transition)
 Called when a transition starts.
 
void OnTransitionEnded (WeatherStateTransitionNode transition)
 Called when a transition ends.
 

Member Function Documentation

◆ OnNewTransitionSet()

void BaseWeatherTransitionCallbacks.OnNewTransitionSet ( WeatherStateTransitionNode  oldTransition,
WeatherStateTransitionNode  newTransition 
)
protected

Called when transition finishes and a new node is dequeued from the state transition queue.

Parameters
oldTransitionThe state we just transitioned from
newTransitionThe new state we will transition, after waiting for the state duration of oldTransition's state.

◆ OnStateSetImmediately()

void BaseWeatherTransitionCallbacks.OnStateSetImmediately ( )
protected

Called ONLY after weather is computed (Mainly probes & cloud shadowmap) after a call to RequestStateTransitionImmediately.

This callback will NOT be called if state is transitioning smoothly.

◆ OnTransitionEnded()

void BaseWeatherTransitionCallbacks.OnTransitionEnded ( WeatherStateTransitionNode  transition)
protected

Called when a transition ends.

Does not get called if state is transitioned immediately through RequestStateTransitionImmediately.

◆ OnTransitionStarted()

void BaseWeatherTransitionCallbacks.OnTransitionStarted ( WeatherStateTransitionNode  transition)
protected

Called when a transition starts.

Does not get called if state is transitioned immediately through RequestStateTransitionImmediately.


The documentation for this interface was generated from the following file: