版本

menu_open
Wwise SDK 2023.1.3

◆ GetCustomPropertyValue() [1/2]

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::Query::GetCustomPropertyValue ( AkUniqueID  in_ObjectID,
AkUInt32  in_uPropID,
AkInt32 out_iValue 
)

Get the value of a custom property of integer or boolean type.

返回
AK_PartialSuccess if the object was found but no matching custom property was found on this object. Note that it could mean this value is the default value.
参数
in_ObjectIDObject ID, this is the 32bit ShortID of the AudioFileSource or Sound object found in the .wwu XML file. At runtime it can only be retrieved by the AK_Duration callback when registered with PostEvent(), or by calling Query::QueryAudioObjectIDs() to get all the shortIDs associated with an event.
in_uPropIDProperty ID of your custom property found under the Custom Properties tab of the Wwise project settings.
out_iValueProperty Value

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅