DOMAudioFont

From Virtual World Web Wiki
Jump to: navigation, search

An audio font defines named DOMAudioEvent and connects sound clips to those events through DOMAudioBinding. These sounds apply to the first DOMController parent that has an active DOMAnimationController. Audio fonts defined deeper in the hierarchy override those closer to the DOMController. This way you can define a default font at the controller level and then override some or all of it on a peice of clothing or attachment.

Remarks [edit]

Constructors

DOMAudioFont()
Constructs a new DOMAudioFont with default settings
DOMAudioFont(DOMObject[] children)
Constructs a new DOMAudioFont, adding children at the same time
DOMAudioFont(string title, DOMObject[] children)
Constructs a new DOMAudioFont, setting a title and adding children at the same time

Methods

bool CheckChild(DOMObject child)
Called on DOMObject derived types just before a child is added to their Children collection to ensure they are acceptable