版本

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

◆ DisplayNameForProp()

virtual bool AK.Wwise::Plugin::V1::PropertyDisplayName::DisplayNameForProp ( const char *  in_pszPropertyName,
char *  out_pszDisplayName,
uint32_t  in_unCharCount 
) const
inlinevirtual

Gets the user-friendly name of the specified property.

This function should write the user-friendly name of the specified property to the char buffer out_pszDisplayName, which is of maximum length in_unCharCount.

Note: This function used to be deprecated, but is actually useful in case of dynamic naming. As such, it has been reinstated. However, its usage is still not preferred. By default, you should provide your naming inside the XML, and use this function only in cases where you cannot reliably name the property in your XML. For example, you might have a switch between two modes, and the same property might have two different names. This function can then be used for this particular case.
Parameters
[in] in_pszPropertyName The internal name of the property.
[out] out_pszDisplayName The returned user-friendly name, as a null-terminated string.
[in] in_unCharCount The maximum number of char in the buffer, including the terminating null.
Returns
true if the property has a user-friendly name.

Definition at line 232 of file PropertyDisplayName.h.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅