Skip to main content

ISoundSystem_ISoundParamMethods

Trait ISoundSystem_ISoundParamMethods 

Source
pub trait ISoundSystem_ISoundParamMethods: ISoundSystem_ISoundParam {
Show 37 methods // Provided methods fn get_master_bgm_volume(self) -> f32 { ... } fn get_master_se_volume(self) -> f32 { ... } fn get_master_env_volume(self) -> f32 { ... } fn get_master_voice_volume(self) -> f32 { ... } fn set_master_bgm_volume( self, vol: impl Into<f32>, fade_msec: impl Into<i32>, ) { ... } fn set_master_se_volume( self, vol: impl Into<f32>, fade_msec: impl Into<i32>, ) { ... } fn set_master_env_volume( self, vol: impl Into<f32>, fade_msec: impl Into<i32>, ) { ... } fn set_master_voice_volume( self, vol: impl Into<f32>, fade_msec: impl Into<i32>, ) { ... } fn reset_master_bgm_volume(self, fade_msec: impl Into<i32>) { ... } fn reset_master_se_volume(self, fade_msec: impl Into<i32>) { ... } fn reset_master_env_volume(self, fade_msec: impl Into<i32>) { ... } fn reset_master_voice_volume(self, fade_msec: impl Into<i32>) { ... } fn get_config_bgm_volume(self) -> f32 { ... } fn get_config_se_volume(self) -> f32 { ... } fn get_config_env_volume(self) -> f32 { ... } fn get_config_voice_volume(self) -> f32 { ... } fn set_config_bgm_volume( self, vol: impl Into<f32>, fade_msec: impl Into<i32>, ) { ... } fn set_config_se_volume( self, vol: impl Into<f32>, fade_msec: impl Into<i32>, ) { ... } fn set_config_env_volume( self, vol: impl Into<f32>, fade_msec: impl Into<i32>, ) { ... } fn set_config_voice_volume( self, vol: impl Into<f32>, fade_msec: impl Into<i32>, ) { ... } fn set_volume(self, vol: impl Into<f32>, game_object: impl Into<GameObject>) { ... } fn get_value( self, value_name: impl Into<Il2CppString>, is_global: impl Into<bool>, ) -> (bool, u32) { ... } fn get_value_2( self, value_name: impl Into<Il2CppString>, game_object: impl Into<GameObject>, is_global: impl Into<bool>, ) -> (bool, u32) { ... } fn get_value_3(self, value_name: impl Into<Il2CppString>) -> (bool, f32) { ... } fn get_value_4( self, value_name: impl Into<Il2CppString>, game_object: impl Into<GameObject>, ) -> (bool, f32) { ... } fn set_value( self, value_name: impl Into<Il2CppString>, is_global: impl Into<bool>, value: impl Into<Il2CppString>, ) -> bool { ... } fn set_value_2( self, value_name: impl Into<Il2CppString>, is_global: impl Into<bool>, value: impl Into<u32>, ) -> bool { ... } fn set_value_3( self, value_name: impl Into<Il2CppString>, is_global: impl Into<bool>, value: impl Into<Il2CppString>, game_object: impl Into<GameObject>, ) -> bool { ... } fn set_value_4( self, value_name: impl Into<Il2CppString>, is_global: impl Into<bool>, value: impl Into<u32>, game_object: impl Into<GameObject>, ) -> bool { ... } fn set_value_5( self, value_name: impl Into<Il2CppString>, value: impl Into<f32>, ) -> bool { ... } fn set_value_6( self, value_name: impl Into<Il2CppString>, value: impl Into<f32>, game_object: impl Into<GameObject>, ) -> bool { ... } fn set_position( self, pos: impl Into<Vector3>, foward: impl Into<Vector3>, up: impl Into<Vector3>, game_object: impl Into<GameObject>, ) -> bool { ... } fn get_audio_listener_object(self) -> GameObject { ... } fn get_audio_listener_posistion(self) -> Vector3 { ... } fn get_audio_listener_rotation(self) -> Quaternion { ... } fn set_audio_listener_position(self, listener_pos: impl Into<Vector3>) { ... } fn set_audio_listener_rotation(self, listener_rot: impl Into<Quaternion>) { ... }
}

Provided Methods§

Source

fn get_master_bgm_volume(self) -> f32

GetMasterBgmVolume() overload

Source

fn get_master_se_volume(self) -> f32

GetMasterSeVolume() overload

Source

fn get_master_env_volume(self) -> f32

GetMasterEnvVolume() overload

Source

fn get_master_voice_volume(self) -> f32

GetMasterVoiceVolume() overload

Source

fn set_master_bgm_volume(self, vol: impl Into<f32>, fade_msec: impl Into<i32>)

SetMasterBgmVolume(f32, i32) overload

Source

fn set_master_se_volume(self, vol: impl Into<f32>, fade_msec: impl Into<i32>)

SetMasterSeVolume(f32, i32) overload

Source

fn set_master_env_volume(self, vol: impl Into<f32>, fade_msec: impl Into<i32>)

SetMasterEnvVolume(f32, i32) overload

Source

fn set_master_voice_volume(self, vol: impl Into<f32>, fade_msec: impl Into<i32>)

SetMasterVoiceVolume(f32, i32) overload

Source

fn reset_master_bgm_volume(self, fade_msec: impl Into<i32>)

ResetMasterBgmVolume(i32) overload

Source

fn reset_master_se_volume(self, fade_msec: impl Into<i32>)

ResetMasterSeVolume(i32) overload

Source

fn reset_master_env_volume(self, fade_msec: impl Into<i32>)

ResetMasterEnvVolume(i32) overload

Source

fn reset_master_voice_volume(self, fade_msec: impl Into<i32>)

ResetMasterVoiceVolume(i32) overload

Source

fn get_config_bgm_volume(self) -> f32

GetConfigBgmVolume() overload

Source

fn get_config_se_volume(self) -> f32

GetConfigSeVolume() overload

Source

fn get_config_env_volume(self) -> f32

GetConfigEnvVolume() overload

Source

fn get_config_voice_volume(self) -> f32

GetConfigVoiceVolume() overload

Source

fn set_config_bgm_volume(self, vol: impl Into<f32>, fade_msec: impl Into<i32>)

SetConfigBgmVolume(f32, i32) overload

Source

fn set_config_se_volume(self, vol: impl Into<f32>, fade_msec: impl Into<i32>)

SetConfigSeVolume(f32, i32) overload

Source

fn set_config_env_volume(self, vol: impl Into<f32>, fade_msec: impl Into<i32>)

SetConfigEnvVolume(f32, i32) overload

Source

fn set_config_voice_volume(self, vol: impl Into<f32>, fade_msec: impl Into<i32>)

SetConfigVoiceVolume(f32, i32) overload

Source

fn set_volume(self, vol: impl Into<f32>, game_object: impl Into<GameObject>)

SetVolume(f32, crate::unity_engine::gameobject::GameObject) overload

Source

fn get_value( self, value_name: impl Into<Il2CppString>, is_global: impl Into<bool>, ) -> (bool, u32)

GetValue(::unity::Il2CppString, bool, *mutu32) overload

Source

fn get_value_2( self, value_name: impl Into<Il2CppString>, game_object: impl Into<GameObject>, is_global: impl Into<bool>, ) -> (bool, u32)

GetValue(::unity::Il2CppString, crate::unity_engine::gameobject::GameObject, bool, *mutu32) overload

Source

fn get_value_3(self, value_name: impl Into<Il2CppString>) -> (bool, f32)

GetValue(::unity::Il2CppString, *mutf32) overload

Source

fn get_value_4( self, value_name: impl Into<Il2CppString>, game_object: impl Into<GameObject>, ) -> (bool, f32)

GetValue(::unity::Il2CppString, crate::unity_engine::gameobject::GameObject, *mutf32) overload

Source

fn set_value( self, value_name: impl Into<Il2CppString>, is_global: impl Into<bool>, value: impl Into<Il2CppString>, ) -> bool

SetValue(::unity::Il2CppString, bool, ::unity::Il2CppString) overload

Source

fn set_value_2( self, value_name: impl Into<Il2CppString>, is_global: impl Into<bool>, value: impl Into<u32>, ) -> bool

SetValue(::unity::Il2CppString, bool, u32) overload

Source

fn set_value_3( self, value_name: impl Into<Il2CppString>, is_global: impl Into<bool>, value: impl Into<Il2CppString>, game_object: impl Into<GameObject>, ) -> bool

SetValue(::unity::Il2CppString, bool, ::unity::Il2CppString, crate::unity_engine::gameobject::GameObject) overload

Source

fn set_value_4( self, value_name: impl Into<Il2CppString>, is_global: impl Into<bool>, value: impl Into<u32>, game_object: impl Into<GameObject>, ) -> bool

SetValue(::unity::Il2CppString, bool, u32, crate::unity_engine::gameobject::GameObject) overload

Source

fn set_value_5( self, value_name: impl Into<Il2CppString>, value: impl Into<f32>, ) -> bool

SetValue(::unity::Il2CppString, f32) overload

Source

fn set_value_6( self, value_name: impl Into<Il2CppString>, value: impl Into<f32>, game_object: impl Into<GameObject>, ) -> bool

SetValue(::unity::Il2CppString, f32, crate::unity_engine::gameobject::GameObject) overload

Source

fn set_position( self, pos: impl Into<Vector3>, foward: impl Into<Vector3>, up: impl Into<Vector3>, game_object: impl Into<GameObject>, ) -> bool

SetPosition(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, crate::unity_engine::gameobject::GameObject) overload

Source

fn get_audio_listener_object(self) -> GameObject

GetAudioListenerObject() overload

Source

fn get_audio_listener_posistion(self) -> Vector3

GetAudioListenerPosistion() overload

Source

fn get_audio_listener_rotation(self) -> Quaternion

GetAudioListenerRotation() overload

Source

fn set_audio_listener_position(self, listener_pos: impl Into<Vector3>)

SetAudioListenerPosition(crate::unity_engine::vector3::Vector3) overload

Source

fn set_audio_listener_rotation(self, listener_rot: impl Into<Quaternion>)

SetAudioListenerRotation(crate::unity_engine::quaternion::Quaternion) overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: ISoundSystem_ISoundParam> ISoundSystem_ISoundParamMethods for __T

Available on crate feature app-soundsystem only.