Developer

API Reference

ITransition2_SetDescriptor()

Brew Release
Brew MP 1.0.2
See Also
- ITransition2 Interface
- ITransition2_SetProperty()
- ITransition2_GetDescriptor()
- Transition2Fader_Init()
- Transition2Mover_Init()
- Transition2Resizer_Init()
- Transition2Scaler_Init()
- Transition2Scroller_Init()
Description
This function is an ITransition2_SetProperty shortcut used to set the descriptor of a transition. The descriptor is used to set the specialized parameters of a transition. For example, the descriptor for a mover includes the starting (x,y) values and the ending (x,y) values.
Parameters
  • pif
    []:
    Pointer to the ITransition2 interface object.
  • pnDescArray
    []:
    Integer array holding the descriptor values
  • nArraySize
    []:
    Size of the descriptor array
Prototype
   int ITransition2_SetDescriptor(ITransition2* pif, int *pnDescArray, int nArraySize)
Return
   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
Comment
While the descriptor can be set directly, some additional helper functions are provided to initialize the transitions. Please refer to the See Also section.
  • Follow