Skip to main content

ISoundWwise_SoundParamMethods

Trait ISoundWwise_SoundParamMethods 

Source
pub trait ISoundWwise_SoundParamMethods: ISoundWwise_SoundParam {
Show 46 methods // Provided methods fn ctor(self) { ... } fn get_volume_common( self, param_name: impl Into<Il2CppString>, min: impl Into<f32>, max: impl Into<f32>, ) -> f32 { ... } fn set_volume_common( self, param_name: impl Into<Il2CppString>, vol: impl Into<f32>, min: impl Into<f32>, max: impl Into<f32>, fade_msec: impl Into<i32>, ) { ... } fn reset_volume_common( self, param_name: impl Into<Il2CppString>, fade_msec: impl Into<i32>, ) { ... } fn get_master_volume_common( self, param_name: impl Into<Il2CppString>, ) -> f32 { ... } fn set_master_volume_common( self, param_name: impl Into<Il2CppString>, vol: impl Into<f32>, fade_msec: impl Into<i32>, ) { ... } fn reset_master_volume_common( self, param_name: impl Into<Il2CppString>, fade_msec: impl Into<i32>, ) { ... } fn get_config_volume_common( self, param_name: impl Into<Il2CppString>, ) -> f32 { ... } fn set_config_volume_common( self, param_name: impl Into<Il2CppString>, vol: impl Into<f32>, fade_msec: impl Into<i32>, ) { ... } 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 ctor(self)

.ctor() overload

Source

fn get_volume_common( self, param_name: impl Into<Il2CppString>, min: impl Into<f32>, max: impl Into<f32>, ) -> f32

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

Source

fn set_volume_common( self, param_name: impl Into<Il2CppString>, vol: impl Into<f32>, min: impl Into<f32>, max: impl Into<f32>, fade_msec: impl Into<i32>, )

SetVolumeCommon(::unity::Il2CppString, f32, f32, f32, i32) overload

Source

fn reset_volume_common( self, param_name: impl Into<Il2CppString>, fade_msec: impl Into<i32>, )

ResetVolumeCommon(::unity::Il2CppString, i32) overload

Source

fn get_master_volume_common(self, param_name: impl Into<Il2CppString>) -> f32

GetMasterVolumeCommon(::unity::Il2CppString) overload

Source

fn set_master_volume_common( self, param_name: impl Into<Il2CppString>, vol: impl Into<f32>, fade_msec: impl Into<i32>, )

SetMasterVolumeCommon(::unity::Il2CppString, f32, i32) overload

Source

fn reset_master_volume_common( self, param_name: impl Into<Il2CppString>, fade_msec: impl Into<i32>, )

ResetMasterVolumeCommon(::unity::Il2CppString, i32) overload

Source

fn get_config_volume_common(self, param_name: impl Into<Il2CppString>) -> f32

GetConfigVolumeCommon(::unity::Il2CppString) overload

Source

fn set_config_volume_common( self, param_name: impl Into<Il2CppString>, vol: impl Into<f32>, fade_msec: impl Into<i32>, )

SetConfigVolumeCommon(::unity::Il2CppString, f32, i32) overload

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: ISoundWwise_SoundParam> ISoundWwise_SoundParamMethods for __T

Available on crate feature app-soundwwise only.