Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Engine.Audio.BaseSoundabstract
类 Engine.Audio.BaseSound 继承关系图:
Engine.Audio.BaseSound 的协作图:

Public 成员函数

void Play ()
void Play (Vector3 direction)
void Pause ()
void Stop ()
virtual void Dispose ()

Public 属性

int m_source

包函数

 BaseSound ()
void InternalPlay (Vector3 direction)
void InternalPause ()
void InternalStop ()
virtual void InternalDispose ()

包属性

object m_lock = new()
bool m_isLooped
bool m_disposeOnStop

属性

SoundState State [get, set]
int ChannelsCount [get, set]
int SamplingFrequency [get, set]
float Volume [get, set]
float Pitch [get, set]
float Pan [get, set]
bool IsLooped [get, set]
bool DisposeOnStop [get, set]

Private 成员函数

void InternalSetVolume (float volume)
void InternalSetPitch (float pitch)
void InternalSetPan (float pan)

Private 属性

float m_volume = 1f
float m_pitch = 1f
float m_pan

详细描述

在文件 BaseSound.cs11 行定义.

构造及析构函数说明

◆ BaseSound()

Engine.Audio.BaseSound.BaseSound ( )
package

在文件 BaseSound.cs138 行定义.

函数调用图:

成员函数说明

◆ Dispose()

virtual void Engine.Audio.BaseSound.Dispose ( )
virtual

Engine.Audio.Sound 重载.

在文件 BaseSound.cs131 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ InternalDispose()

virtual void Engine.Audio.BaseSound.InternalDispose ( )
packagevirtual

Engine.Audio.Sound , 以及 Engine.Audio.StreamingSound 重载.

在文件 BaseSound.cs174 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ InternalPause()

void Engine.Audio.BaseSound.InternalPause ( )
abstractpackage
这是这个函数的调用关系图:

◆ InternalPlay()

void Engine.Audio.BaseSound.InternalPlay ( Vector3 direction)
abstractpackage
这是这个函数的调用关系图:

◆ InternalSetPan()

void Engine.Audio.BaseSound.InternalSetPan ( float pan)
private

在文件 BaseSound.cs160 行定义.

函数调用图:

◆ InternalSetPitch()

void Engine.Audio.BaseSound.InternalSetPitch ( float pitch)
private

在文件 BaseSound.cs153 行定义.

函数调用图:

◆ InternalSetVolume()

void Engine.Audio.BaseSound.InternalSetVolume ( float volume)
private

在文件 BaseSound.cs146 行定义.

函数调用图:

◆ InternalStop()

void Engine.Audio.BaseSound.InternalStop ( )
abstractpackage
这是这个函数的调用关系图:

◆ Pause()

void Engine.Audio.BaseSound.Pause ( )

在文件 BaseSound.cs109 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Play() [1/2]

void Engine.Audio.BaseSound.Play ( )

在文件 BaseSound.cs89 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Play() [2/2]

void Engine.Audio.BaseSound.Play ( Vector3 direction)

在文件 BaseSound.cs99 行定义.

函数调用图:

◆ Stop()

void Engine.Audio.BaseSound.Stop ( )

在文件 BaseSound.cs118 行定义.

函数调用图:
这是这个函数的调用关系图:

类成员变量说明

◆ m_disposeOnStop

bool Engine.Audio.BaseSound.m_disposeOnStop
package

在文件 BaseSound.cs22 行定义.

◆ m_isLooped

bool Engine.Audio.BaseSound.m_isLooped
package

在文件 BaseSound.cs20 行定义.

◆ m_lock

object Engine.Audio.BaseSound.m_lock = new()
package

在文件 BaseSound.cs18 行定义.

◆ m_pan

float Engine.Audio.BaseSound.m_pan
private

在文件 BaseSound.cs16 行定义.

◆ m_pitch

float Engine.Audio.BaseSound.m_pitch = 1f
private

在文件 BaseSound.cs14 行定义.

◆ m_source

int Engine.Audio.BaseSound.m_source

在文件 BaseSound.cs24 行定义.

◆ m_volume

float Engine.Audio.BaseSound.m_volume = 1f
private

在文件 BaseSound.cs12 行定义.

属性说明

◆ ChannelsCount

int Engine.Audio.BaseSound.ChannelsCount
getset

在文件 BaseSound.cs28 行定义.

◆ DisposeOnStop

bool Engine.Audio.BaseSound.DisposeOnStop
getset

在文件 BaseSound.cs78 行定义.

◆ IsLooped

bool Engine.Audio.BaseSound.IsLooped
getset

在文件 BaseSound.cs67 行定义.

◆ Pan

float Engine.Audio.BaseSound.Pan
getset

在文件 BaseSound.cs54 行定义.

◆ Pitch

float Engine.Audio.BaseSound.Pitch
getset

在文件 BaseSound.cs43 行定义.

◆ SamplingFrequency

int Engine.Audio.BaseSound.SamplingFrequency
getset

在文件 BaseSound.cs30 行定义.

◆ State

SoundState Engine.Audio.BaseSound.State
getset

在文件 BaseSound.cs26 行定义.

◆ Volume

float Engine.Audio.BaseSound.Volume
getset

在文件 BaseSound.cs32 行定义.


该类的文档由以下文件生成:
  • E:/sc/doxygen/SurvivalcraftApi 1.8.2.3/Engine/Engine.Audio/BaseSound.cs