版本

menu_open
警告:系统已根据您所用大版本 (2023.1.4.8496) 自动跳转至最新文档。若想访问特定版本的文档,请从 Audiokinetic Launcher 下载离线文档,并在 Wwise 设计程序中勾选 Offline Documentation 选项。
Wwise SDK 2023.1.4

◆ GetValue()

bool AK.Wwise::Plugin::V1::PropertySet::GetValue ( const GUID in_guidPlatform,
const char *  in_pszPropertyName,
AK::WwiseAuthoringAPI::AkVariantBase &  out_varProperty 
) const
inline

Retrieves the value of a specific property as a variant.

警告: This is a semi-private function. You should use the typed GetValue methods instead.

GetValueString, GetValueInt64, GetValueInt32, GetValueInt16, GetValueInt8, GetValueUInt64, GetValueUInt32, GetValueUInt16, GetValueUInt8, GetValueReal64 GetValueReal32, GetValueBool

The function can still be useful if you want to handle parameters as a black box, getting a
value without knowing the type, and then setting that value elsewhere.
参见
参数
[in]in_guidPlatformThe unique ID of the queried platform.
[in]in_pszPropertyNameThe name of the queried property, based on the XML definition file.
[out]out_varPropertyThe returned value of the property.
返回
true if successful.

在文件 HostPropertySet.h1100 行定义.

引用了 AK.Wwise::Plugin::CBaseInterfaceGlue< CHostPropertySet >::g_cinterface, ak_wwise_plugin_host_property_set_v1::GetValue , 以及 MKBOOL.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅