Getting Started
Migrating to UNIGINE 2.0
C++ API Migration
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

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