版本

menu_open
Wwise SDK 2019.2.15

◆ WriteUtf16String()

virtual bool AK.Wwise::IWriteData::WriteUtf16String ( const wchar_t *  in_szString )
pure virtual

Writes a null-terminated utf-16 string (characters are 2 bytes wide). Handles endianness according to destination platform.

备注: "String" properties (as defined in the plugin's XML Description File - refer to Wwise 插件 XML 描述文件 for more details) are utf-16 encoded. While you are free to store this string in soundbanks as as an ansi string (using WritePascalString()), AK::IAkPluginParam::SetParam() will be passed an utf-16 string when you connect the authoring tool to the sound engine. Thus, WriteUtf16String() is the preferred method for sending strings to a plug-in.
返回
True if successful, False otherwise
参数
in_szString The string to be written (null-terminated).

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅