C# Class OpenMetaverse.SoundManager

Afficher le fichier Open project: 3di/3di-viewer-rei-libs Class Usage Examples

Méthodes publiques

Свойство Type Description
Client GridClient

Méthodes publiques

Méthode Description
SoundManager ( GridClient client ) : System
SoundTrigger ( UUID soundID ) : void

Plays a sound in the current region at full volume from avatar position

SoundTrigger ( UUID soundID, Simulator sim, System.Vector3 position, float gain ) : void

Plays a sound in the specified sim

SoundTrigger ( UUID soundID, System.Vector3 position ) : void

Plays a sound in the current region at full volume

SoundTrigger ( UUID soundID, System.Vector3 position, float gain ) : void

Plays a sound in the current region

SoundTrigger ( UUID soundID, ulong handle, System.Vector3 position, float gain ) : void

Plays a sound

Méthodes protégées

Méthode Description
AttachedSoundGainChangeHandler ( Packet packet, Simulator simulator ) : void
AttachedSoundHandler ( Packet packet, Simulator simulator ) : void
PreloadSoundHandler ( Packet packet, Simulator simulator ) : void
SoundTriggerHandler ( Packet packet, Simulator simulator ) : void

Method Details

AttachedSoundGainChangeHandler() protected méthode

protected AttachedSoundGainChangeHandler ( Packet packet, Simulator simulator ) : void
packet OpenMetaverse.Packets.Packet
simulator Simulator
Résultat void

AttachedSoundHandler() protected méthode

protected AttachedSoundHandler ( Packet packet, Simulator simulator ) : void
packet OpenMetaverse.Packets.Packet
simulator Simulator
Résultat void

PreloadSoundHandler() protected méthode

protected PreloadSoundHandler ( Packet packet, Simulator simulator ) : void
packet OpenMetaverse.Packets.Packet
simulator Simulator
Résultat void

SoundManager() public méthode

public SoundManager ( GridClient client ) : System
client GridClient
Résultat System

SoundTrigger() public méthode

Plays a sound in the current region at full volume from avatar position
public SoundTrigger ( UUID soundID ) : void
soundID UUID UUID of the sound to be played
Résultat void

SoundTrigger() public méthode

Plays a sound in the specified sim
public SoundTrigger ( UUID soundID, Simulator sim, System.Vector3 position, float gain ) : void
soundID UUID UUID of the sound to be played.
sim Simulator UUID of the sound to be played.
position System.Vector3 position for the sound to be played at. Normally the avatar.
gain float volume of the sound, from 0.0 to 1.0
Résultat void

SoundTrigger() public méthode

Plays a sound in the current region at full volume
public SoundTrigger ( UUID soundID, System.Vector3 position ) : void
soundID UUID UUID of the sound to be played.
position System.Vector3 position for the sound to be played at. Normally the avatar.
Résultat void

SoundTrigger() public méthode

Plays a sound in the current region
public SoundTrigger ( UUID soundID, System.Vector3 position, float gain ) : void
soundID UUID UUID of the sound to be played.
position System.Vector3 position for the sound to be played at. Normally the avatar.
gain float volume of the sound, from 0.0 to 1.0
Résultat void

SoundTrigger() public méthode

Plays a sound
public SoundTrigger ( UUID soundID, ulong handle, System.Vector3 position, float gain ) : void
soundID UUID UUID of the sound to be played.
handle ulong handle id for the sim to be played in.
position System.Vector3 position for the sound to be played at. Normally the avatar.
gain float volume of the sound, from 0.0 to 1.0
Résultat void

SoundTriggerHandler() protected méthode

protected SoundTriggerHandler ( Packet packet, Simulator simulator ) : void
packet OpenMetaverse.Packets.Packet
simulator Simulator
Résultat void

Property Details

Client public_oe property

public GridClient,OpenMetaverse Client
Résultat GridClient