|
Drag[en]gine Script Module DragonScript 1.32.1
|
Load impact material sounds from xml file. More...
Public Member Functions | |
| LoadSynthesizer | getSynthesizerLoader () |
| Synthesizer loader. | |
| void | loadFromFile (String filename, ImpactMaterialSounds materials) |
| Load impact material sounds from xml file. | |
| void | loadFromFiles (ImpactMaterialSounds materials, String directory, bool recursive) |
| Scan for skin annotation files loading them. | |
| void | loadFromFiles (ImpactMaterialSounds materials, String directory, String pattern, bool recursive) |
| Scan for skin annotation files loading them. | |
| LoadImpactMaterialSound | new (Console console) |
| Create loader. | |
| LoadImpactMaterialSound | new (Console console, String name) |
| Create loader. | |
| void | parseImpactMaterialSound (EasyXMLElement root, ImpactMaterialSounds materials, String baseDirectory) |
| Parse impact material sound tag. | |
| MaterialSound | parseMaterialSound (EasyXMLElement root, String baseDirectory) |
| Parse material sound tag. | |
| void | setSynthesizerLoader (LoadSynthesizer loader) |
| Set synthesizer loader. | |
Load impact material sounds from xml file.
| LoadSynthesizer Dragengine.Audio.MaterialSounds.LoadImpactMaterialSound.getSynthesizerLoader | ( | ) |
Synthesizer loader.
| void Dragengine.Audio.MaterialSounds.LoadImpactMaterialSound.loadFromFile | ( | String | filename, |
| ImpactMaterialSounds | materials | ||
| ) |
Load impact material sounds from xml file.
| void Dragengine.Audio.MaterialSounds.LoadImpactMaterialSound.loadFromFiles | ( | ImpactMaterialSounds | materials, |
| String | directory, | ||
| bool | recursive | ||
| ) |
Scan for skin annotation files loading them.
Skin annotation files have the extension ".deimsnd".
| materials | Impact material sounds to load files into. |
| directory | Absolute path to directory to scan for files. |
| recursive | If true scans also in all child directories. |
| void Dragengine.Audio.MaterialSounds.LoadImpactMaterialSound.loadFromFiles | ( | ImpactMaterialSounds | materials, |
| String | directory, | ||
| String | pattern, | ||
| bool | recursive | ||
| ) |
Scan for skin annotation files loading them.
Skin annotation files have the extension ".deimsnd".
| materials | Impact material sounds to load files into. |
| directory | Absolute path to directory to scan for files. |
| pattern | File pattern to match. Has to be of the form "*.extension" |
| recursive | If true scans also in all child directories. |
| LoadImpactMaterialSound Dragengine.Audio.MaterialSounds.LoadImpactMaterialSound.new | ( | Console | console | ) |
Create loader.
| LoadImpactMaterialSound Dragengine.Audio.MaterialSounds.LoadImpactMaterialSound.new | ( | Console | console, |
| String | name | ||
| ) |
Create loader.
| void Dragengine.Audio.MaterialSounds.LoadImpactMaterialSound.parseImpactMaterialSound | ( | EasyXMLElement | root, |
| ImpactMaterialSounds | materials, | ||
| String | baseDirectory | ||
| ) |
Parse impact material sound tag.
| MaterialSound Dragengine.Audio.MaterialSounds.LoadImpactMaterialSound.parseMaterialSound | ( | EasyXMLElement | root, |
| String | baseDirectory | ||
| ) |
Parse material sound tag.
| void Dragengine.Audio.MaterialSounds.LoadImpactMaterialSound.setSynthesizerLoader | ( | LoadSynthesizer | loader | ) |
Set synthesizer loader.