版本

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

◆ MoveToContent

AK::Wwise::Plugin::XmlNodeType::NodeType(* ak_wwise_plugin_host_xml_v1::MoveToContent) (struct ak_wwise_plugin_host_xml_reader_instance_v1 *in_this)

Makes sure the cursor points to a content-type entity while reading XML.

If the node is not a content node, the reader skips ahead to the next content entity until the end of file. More specifically, it will skip over the following usual node types:

  • ProcessingInstruction
  • DocumentType
  • Comment
  • Whitespace
  • SignificantWhitespace

Content entities are specifically:

  • Text (Non-whitespace text)
  • CDATA
  • Element
  • EndElement
  • EndEntity
  • EntityReference

This method will also move to the element part of an Attribute.

备注: This method is mostly a convenience and could be easily coded by a simple loop.

Once the current node hierarchy information is determined by proper use of Read, MoveToContent will make sure to provide the actual content of the entity. If no content is available, it will return EndElement or EndEntity.

参数
[in]in_thisCurrent reader instance of this interface.
返回
The new node type. None if the reader has reached the end of file.

在文件 HostXml.h278 行定义.

被这些函数引用 AK.Wwise::Plugin::V1::XmlReader::MoveToContent().


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅