Developer

API Reference

ITRIGPLAYEREX_GetDocument()

deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
Brew Release
Brew MP 1.0.2
Description
Returns an interface to the TrigML document being displayed by this TrigPlayer widget.
Parameters
  • 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
Comment
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.
  • Follow