C# 클래스 OpenMetaverse.SoundManager

파일 보기 프로젝트 열기: 3di/3di-viewer-rei-libs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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