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