|
Drag[en]gine Script Module DragonScript 1.35
|
Public Member Functions | |
Constructors | |
| Microphone | new () |
| Create microphone. | |
Management | |
| MicrophoneType | getType () |
| Type. | |
| void | setType (MicrophoneType type) |
| Set type. | |
| DVector | getPosition () |
| Position. | |
| void | setPosition (DVector position) |
| Set position. | |
| Quaternion | getOrientation () |
| Orientation. | |
| void | setOrientation (Quaternion orientation) |
| Set orientation. | |
| Vector | getVelocity () |
| Velocity in m/s. | |
| void | setVelocity (Vector velocity) |
| Set velocity in m/s. | |
| bool | getMuted () |
| Microphone is muted. | |
| void | setMuted (bool muted) |
| Set if microphone is muted. | |
| float | getVolume () |
| Volume. | |
| void | setVolume (float volume) |
| Set volume. | |
| LayerMask | getLayerMask () |
| Layer mask for visibility masking. | |
| void | setLayerMask (LayerMask layerMask) |
| Set layer mask for visibility masking. | |
| float | getSpeakerGain () |
| Gain to multiply all speakers with. | |
| void | setSpeakerGain (float gain) |
| Set gain to multiply all speakers with. | |
| World | getParentWorld () |
| Parent world or null if not added to a world. | |
| bool | getEnableAuralization () |
| Enable auralization if supported. | |
| void | setEnableAuralization (bool enable) |
| Set to enable auralization if supported. | |
Speakers | |
| void | addSpeaker (Speaker speaker) |
| Add speaker. | |
| void | removeSpeaker (Speaker speaker) |
| Remove speaker. | |
| void | removeAllSpeakers () |
| Remove all speakers. | |
This is a native class.
| void Dragengine.Scenery.Microphone.addSpeaker | ( | Speaker | speaker | ) |
| bool Dragengine.Scenery.Microphone.getEnableAuralization | ( | ) |
Enable auralization if supported.
References getSpeakerGain().
Referenced by removeAllSpeakers().
| LayerMask Dragengine.Scenery.Microphone.getLayerMask | ( | ) |
| bool Dragengine.Scenery.Microphone.getMuted | ( | ) |
| Quaternion Dragengine.Scenery.Microphone.getOrientation | ( | ) |
Orientation.
Referenced by getVelocity().
| World Dragengine.Scenery.Microphone.getParentWorld | ( | ) |
Parent world or null if not added to a world.
References getLayerMask(), and setLayerMask().
Referenced by addSpeaker().
| DVector Dragengine.Scenery.Microphone.getPosition | ( | ) |
| float Dragengine.Scenery.Microphone.getSpeakerGain | ( | ) |
Gain to multiply all speakers with.
References getVolume().
Referenced by getEnableAuralization().
| MicrophoneType Dragengine.Scenery.Microphone.getType | ( | ) |
| Vector Dragengine.Scenery.Microphone.getVelocity | ( | ) |
| float Dragengine.Scenery.Microphone.getVolume | ( | ) |
| Microphone Dragengine.Scenery.Microphone.new | ( | ) |
| void Dragengine.Scenery.Microphone.removeAllSpeakers | ( | ) |
Remove all speakers.
References addSpeaker(), getEnableAuralization(), removeAllSpeakers(), removeSpeaker(), and setEnableAuralization().
Referenced by removeAllSpeakers().
| void Dragengine.Scenery.Microphone.removeSpeaker | ( | Speaker | speaker | ) |
| void Dragengine.Scenery.Microphone.setEnableAuralization | ( | bool | enable | ) |
Set to enable auralization if supported.
References setSpeakerGain().
Referenced by removeAllSpeakers().
| void Dragengine.Scenery.Microphone.setLayerMask | ( | LayerMask | layerMask | ) |
| void Dragengine.Scenery.Microphone.setMuted | ( | bool | muted | ) |
Set if microphone is muted.
Referenced by setLayerMask().
| void Dragengine.Scenery.Microphone.setOrientation | ( | Quaternion | orientation | ) |
| void Dragengine.Scenery.Microphone.setPosition | ( | DVector | position | ) |
| void Dragengine.Scenery.Microphone.setSpeakerGain | ( | float | gain | ) |
Set gain to multiply all speakers with.
References setVolume().
Referenced by setEnableAuralization().
| void Dragengine.Scenery.Microphone.setType | ( | MicrophoneType | type | ) |
Set type.
Referenced by getPosition().
| void Dragengine.Scenery.Microphone.setVelocity | ( | Vector | velocity | ) |
| void Dragengine.Scenery.Microphone.setVolume | ( | float | volume | ) |
Set volume.
Referenced by setSpeakerGain().