Developer

API Reference

ITransitionMgr_SetDescriptor()

Brew Release
Brew MP 1.0.2
See Also
- ITransitionMgr Interface
- ITransitionMgr_SetProperty()
- ITransitionMgr_GetDescriptor()
Description
This function is an ITransitionMgr_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 ITransitionMgr interface object.
  • pnDescArray
    []:
    Integer array holding the descriptor values
  • nArraySize
    []:
    Size of the descriptor array
Prototype
   int ITransitionMgr_SetDescriptor(ITransitionMgr* 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