API Reference | developer.brewmp.com API Reference | developer.brewmp.com


API Reference


Brew Release
Brew MP 1.0.2
See Also
- ITransition2 Interface - ITransition2_SetProperty - ITransition2_GetStepMode
This function is a ITransition2_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.
Pointer to the ITransition2 interface object.
integer value of the property
  •    int ITransition2_SetStepMode(ITransition2* 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
  • None
Step mode can be set to the following values ITransition2_PVAL_STEPMODE_REAL -- Real time mode ITransition2_PVAL_STEPMODE_FRAME -- Frame-by-frame mode