This page has been translated automatically.
编程
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
应用程序接口
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
CIGI Client Plugin
Rendering-Related Classes
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

Fields类

警告
Game Framework is deprecated and no longer supported. We can't guarantee the stable work of the framework.

该类用来实现和描述实体(Entity)的字段(Fields)方法。

Fields类的实现存放在路径下文件data/framework/game/fields.h中。

Fields Class

成员


Fields()

构造函数。 用来创建Fields类的实例。

参数

    getClassName()

    其作用是返回类的名称。

    getBaseName()

    其作用是返回父类的名称。

    getNumFields()

    其作用是返回类的字段(fields)的数量。

    getField()

    其作用是通过类的字段自身的索引(index)返回该字段。

    参数

      最新更新: 2017-10-20
      Build: ()