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