This page has been translated automatically.
UnigineScript
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Samples
Usage Examples
C++ API
API Reference
Integration Samples
Usage Examples
C++ Plugins
Migration
Migrating to UNIGINE 2.0
C++ API Migration
Migrating from UNIGINE 2.0 to UNIGINE 2.1
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

Unigine::Variable Class

UNIGINEUNIGINE 2.0Comments
-Variable(void * interpreter, const PathPtr & path, int append, int manage) Path smart pointer class object constructor.
-Variable(void * interpreter, const MeshPtr & mesh, int append, int manage) Mesh smart pointer class object constructor.
-int isExternClassObject(void * interpreter) const Returns a value indicating if the object belongs to the external class.
-void setExternClassObject(void * interpreter, Type * object, int append, int manage) Sets an external class object for the variable.
-Type * getExternClassObject(void * interpreter) const Returns the type of the external class object.
-Type & getExternClassObjectRef(void * interpreter) const Returns the type of the external class object stored in the variable.
-void setPath(void * interpreter, const PathPtr & path, int append, int manage) Sets a path smart pointer for the variable.
-PathPtr getPath(void * interpreter) const Returns the current variable as a path smart pointer, if possible.
-int isPath (void * interpreter) const Returns a value indicating if the variable is a path.
-void setMesh(void * interpreter, const MeshPtr & mesh, int append, int manage) Sets a mesh smart pointer for the variable.
-MeshPtr getMesh(void * interpreter) const Returns the current variable as a mesh smart pointer, if possible.
-int isMesh(void * interpreter) const Returns a value indicating if the variable is a mesh.
-Variable(void * interpreter, const DecalPtr & decal, int append, int manage) Decal smart pointer class object constructor.
-void setDecal(void * interpreter, const DecalPtr & decal, int append, int manage) Sets a decal smart pointer for the variable.
-DecalPtr getDecal(void * interpreter) const Returns the current variable as a decal smart pointer, if possible.
-int isDecal(void * interpreter) const Returns a value indicating if the variable is a decal.
Last update: 2017-07-03
Build: ()