C# Класс OpenMetaverse.SoundManager

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Client GridClient

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
AttachedSoundGainChangeHandler ( Packet packet, Simulator simulator ) : void
AttachedSoundHandler ( Packet packet, Simulator simulator ) : void
PreloadSoundHandler ( Packet packet, Simulator simulator ) : void
SoundTriggerHandler ( Packet packet, Simulator simulator ) : void

Описание методов

AttachedSoundGainChangeHandler() защищенный Метод

protected AttachedSoundGainChangeHandler ( Packet packet, Simulator simulator ) : void
packet OpenMetaverse.Packets.Packet
simulator Simulator
Результат void

AttachedSoundHandler() защищенный Метод

protected AttachedSoundHandler ( Packet packet, Simulator simulator ) : void
packet OpenMetaverse.Packets.Packet
simulator Simulator
Результат void

PreloadSoundHandler() защищенный Метод

protected PreloadSoundHandler ( Packet packet, Simulator simulator ) : void
packet OpenMetaverse.Packets.Packet
simulator Simulator
Результат void

SoundManager() публичный Метод

public SoundManager ( GridClient client ) : System
client GridClient
Результат System

SoundTrigger() публичный Метод

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
Результат void

SoundTrigger() публичный Метод

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
Результат void

SoundTrigger() публичный Метод

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.
Результат void

SoundTrigger() публичный Метод

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
Результат void

SoundTrigger() публичный Метод

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
Результат void

SoundTriggerHandler() защищенный Метод

protected SoundTriggerHandler ( Packet packet, Simulator simulator ) : void
packet OpenMetaverse.Packets.Packet
simulator Simulator
Результат void

Описание свойств

Client публичное свойство

public GridClient,OpenMetaverse Client
Результат GridClient