Controls the collection of the elements in scene
Methods
ElementsAdd
Adds new element. If such element exists then replace it with new one.
Syntax
void ElementsAdd( string _bsNewElementID, string _bsElementType, string _bsElementProps, out MElement _ppChildElement, double _dblTimeForChange )
Parameters
_bsNewElementID - ID of new element
_bsElementType - type of the element
_bsElementProps - properties of the element
_ppChildElement - new element
_dblTimeForChange - time interval for changes
ElementsGetByID
Gets the scene element by its ID.
Syntax
void ElementsGetByID( string _bsElementID, out MElement _ppChildElement )
Parameters
_bsElementID - ID of the element
_ppChildElement - the resulting element
ElementsGetByIndex
Gets the scene element by its index.
Syntax
void ElementsGetByIndex( int _nIndex, out MElement _ppChildElement )
Parameters
_nIndex - index of the element
_ppChildElement - the resulting element
ElementsGetCount
Gets count of scene elements.
Syntax
void ElementsGetCount( out int _pnCount )
Parameters
_pnCount - number of elements
ElementsMediaAdd
Adds new element with media. If such element exists then replace it with new one.
Syntax
void ElementsMediaAdd( string _bsNewElementID, object _pExternOrRef, string _bsPath, string _bsParam, out MElement _ppChildElement, double _dblTimeForChange )
Parameters
_bsNewElementID - ID of the new element
_pExternOrRef - reference to external object (for example, live source)
_bsPath - path to the source
_bsParam - parameters for adding
_ppChildElement - the new element
_dblTimeForChange - time interval for changes in seconds