版本

menu_open
Wwise SDK 2022.1.12

◆ GetString()

const char* AK.Wwise::Plugin::V1::PropertySet::GetString ( const GUID in_guidPlatform,
const char *  in_pszPropertyName 
) const
inline

Retrieves the string value of a specific property and returns the value as a temporary pointer.

This is a convenience for GetValueString where the value is returned instead of being set in a provided variable.

The plug-in XML definition file should define this property as a string in order to use this method.

备注: The returned pointer is provided by Authoring, and contains a TLS copy of the property value string. It is guaranteed to be valid until the next Host function call. If you wish to retain this string, you should make a copy at the earliest convenience.
参见
参数
in_guidPlatformThe unique ID of the queried platform.
in_pszPropertyNameThe name of the queried property, based on the XML definition file.
返回
The value of the property.
参数
in_guidPlatformThe unique ID of the queried platform
in_pszPropertyNameThe name of the property

在文件 HostPropertySet.h2026 行定义.

引用了 AKVERIFY , 以及 AK.Wwise::Plugin::V1::PropertySet::GetValueString().


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅