API Reference


Brew Release
Brew MP 1.0.2
See Also
- ITransitionMgr_SetProperty()
- ITransitionMgr_GetStepMode()
This function is a ITransitionMgr_SetProperty shortcut used to set the step mode of the transition. The step mode determines how a transition will run. In real time mode, the transition determines the current step to draw based on the given runtime and the elapsed time received from the step() function. The transition will be finished when the elapsed time is greater than the run time. In step mode, the transition will step to the next frame with every step() calls it receives, ignoring the elapsed time. Step mode ensures that every single step of the transition is performed, but how long it takes is largely dependent on the controller's step time and how busy the system is. The transition will be over once it reaches the defined max steps.
  • pif
    Pointer to the ITransitionMgr interface object.
  • nStepMode
    integer value of the property
   int ITransitionMgr_SetStepMode(ITransitionMgr* pif, int nStepMode)
   AEE_SUCCESS          - The requested property has been applied.
   AEE_EBADPARM         - The requested property could not be applied.
   ECLASSNOTSUPPORT - The requested property is not supported.
Side Effect
Step mode can be set to the following values: ITransition2_PVAL_STEPMODE_REAL : Real time mode ITransition2_PVAL_STEPMODE_FRAME : Frame-by-frame mode.
  • Follow