Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.Scenery.Microphone Class Reference

Microphone. More...

Inheritance diagram for Dragengine.Scenery.Microphone:

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.

Detailed Description

Microphone.

This is a native class.

Member Function Documentation

◆ addSpeaker()

void Dragengine.Scenery.Microphone.addSpeaker ( Speaker speaker)

Add speaker.

References getParentWorld().

Referenced by removeAllSpeakers().

◆ getEnableAuralization()

bool Dragengine.Scenery.Microphone.getEnableAuralization ( )

Enable auralization if supported.

Version
1.23

References getSpeakerGain().

Referenced by removeAllSpeakers().

◆ getLayerMask()

LayerMask Dragengine.Scenery.Microphone.getLayerMask ( )

Layer mask for visibility masking.

References getMuted().

Referenced by getParentWorld().

◆ getMuted()

bool Dragengine.Scenery.Microphone.getMuted ( )

Microphone is muted.

References getVelocity().

Referenced by getLayerMask().

◆ getOrientation()

Quaternion Dragengine.Scenery.Microphone.getOrientation ( )

Orientation.

Referenced by getVelocity().

◆ getParentWorld()

World Dragengine.Scenery.Microphone.getParentWorld ( )

Parent world or null if not added to a world.

References getLayerMask(), and setLayerMask().

Referenced by addSpeaker().

◆ getPosition()

DVector Dragengine.Scenery.Microphone.getPosition ( )

Position.

References setType().

Referenced by setPosition().

◆ getSpeakerGain()

float Dragengine.Scenery.Microphone.getSpeakerGain ( )

Gain to multiply all speakers with.

Version
1.16

References getVolume().

Referenced by getEnableAuralization().

◆ getType()

MicrophoneType Dragengine.Scenery.Microphone.getType ( )

Type.

References getType().

Referenced by getType().

◆ getVelocity()

Vector Dragengine.Scenery.Microphone.getVelocity ( )

Velocity in m/s.

References getOrientation().

Referenced by getMuted().

◆ getVolume()

float Dragengine.Scenery.Microphone.getVolume ( )

Volume.

References setVelocity().

Referenced by getSpeakerGain().

◆ new()

Microphone Dragengine.Scenery.Microphone.new ( )

Create microphone.

References new().

Referenced by new().

◆ removeAllSpeakers()

void Dragengine.Scenery.Microphone.removeAllSpeakers ( )

◆ removeSpeaker()

void Dragengine.Scenery.Microphone.removeSpeaker ( Speaker speaker)

Remove speaker.

Exceptions
EInvalidParamspeaker is absent.

Referenced by removeAllSpeakers().

◆ setEnableAuralization()

void Dragengine.Scenery.Microphone.setEnableAuralization ( bool enable)

Set to enable auralization if supported.

Version
1.23

References setSpeakerGain().

Referenced by removeAllSpeakers().

◆ setLayerMask()

void Dragengine.Scenery.Microphone.setLayerMask ( LayerMask layerMask)

Set layer mask for visibility masking.

References setMuted().

Referenced by getParentWorld().

◆ setMuted()

void Dragengine.Scenery.Microphone.setMuted ( bool muted)

Set if microphone is muted.

Referenced by setLayerMask().

◆ setOrientation()

void Dragengine.Scenery.Microphone.setOrientation ( Quaternion orientation)

Set orientation.

References setPosition().

Referenced by setVelocity().

◆ setPosition()

void Dragengine.Scenery.Microphone.setPosition ( DVector position)

Set position.

References getPosition().

Referenced by setOrientation().

◆ setSpeakerGain()

void Dragengine.Scenery.Microphone.setSpeakerGain ( float gain)

Set gain to multiply all speakers with.

Version
1.16

References setVolume().

Referenced by setEnableAuralization().

◆ setType()

void Dragengine.Scenery.Microphone.setType ( MicrophoneType type)

Set type.

Referenced by getPosition().

◆ setVelocity()

void Dragengine.Scenery.Microphone.setVelocity ( Vector velocity)

Set velocity in m/s.

References setOrientation().

Referenced by getVolume().

◆ setVolume()

void Dragengine.Scenery.Microphone.setVolume ( float volume)

Set volume.

Referenced by setSpeakerGain().


The documentation for this class was generated from the following file: