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

Developer

API Reference

ITRIGPLAYEREX_GETDOCUMENT()

Brew Release
Brew MP 1.0.2
See Also
Description
Returns an interface to the TrigML document being displayed by this TrigPlayer widget.
Params
po
[]:
A pointer to an ITrigplayerEx object.

Interface
  • ITRIGPLAYEREX
Prototype
  •    ITrigmlDocument* ITRIGPLAYEREX_GetDocument(ITrigplayerEx* po);
    
Return
  •    A pointer to the TrigML document being displayed by this TrigPlayer.
       This function never returns NULL; the document is created before content has
       been loaded, at which time it contains only the _root element.
    
Side Effect
  • None
Comments
This method gives access to the document being displayed by the TrigPlayer. Use the returned ITrigmlDocument interface to find particular TrigML elements and manipulate them. The returned interface pointer is NOT addreffed. Do not release it.