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

Developer

API Reference

IOBSERVER_GETLLMANGLE()

Brew Release
Brew MP 1.0.2
See Also
IObserver Interface IObserver_GetPropertyEx()
Description
This function retrieves the angle of the linear movement determined by the observer.
Params
pif
[]:
[in] Pointer to the IObserver interface object.
pAngle
[]:
[out] The angle of the linear movement in degrees.
Interface
Prototype
  •    int IObserver_GetLLMAngle(IObserver *pif, int *pAngle)
    
Return
  •    AEE_SUCCESS - If the angle was retrieved.
       AEE_EFAILED - If the angle was not retrieved.
    
Side Effect
  • IObserver_GetLLMAngle() calls IObserver_GetPropertyEx() and has the effect of processing an PROPEX_POINTER_LLM_ANGLE event.
Comments
In case the movement is not linear the function returns AEE_EFAILED.