This page has been translated automatically.
Getting Started
Migrating to UNIGINE 2.0
C++ API Migration
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Usage Examples
API Reference
Integration Samples
Usage Examples
C++ Plugins
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

World Nodes-Related Classes

WorldTransform Class

The WorldTransform class was renamed WorldTransformPath
WorldTransform(string name)WorldTransformPath(string name, int dynamic = 0)
string getSplineName()string getPathName()
void setSplineName(string name)void setPathName(string name, int dynamic = 0)
int addFrame()
vec3 getAngularVelocity(float time)
int getClosestFrame(vec3 position)
float getClosestTime(vec3 position)
vec3 getFramePosition(int num)
quat getFrameRotation(int num)
vec3 getFrameScale(int num)
float getFrameTime(int num)
mat4 getFrameTransform(int num)
float getFrame()
vec3 getLinearVelocity(float time)
vec3 getPosition(float time)
quat getRotation(float time)
vec3 getScale(float time)
mat4 getTransform(float time)
int load(string name)
void removeFrame(int num)
int save(string name)
void setFramePosition(int num, vec3 pos)
void setFrameRotation(int num, quat rot)
void setFrameScale(int num, vec3 scale)
void setFrameTime(int num, float time)
void setFrameTransform(int num, mat4 transform)
void setFrame(float time)
void setNumFrames(int num)
Removed. See remarks below.


  1. Path editing functions have been removed from WorldTransformPath class. All this functions are available via the Path class as follows:
    1. Get the path via getPath()
    2. Edit the path by using the Path class functions.

WorldOccluderMesh Class

int getMesh(ObjectMesh mesh)int getMesh(Mesh mesh)
int load(string name)int loadMesh(string name)
int save(string name)int saveMesh(string name)
int setMesh(ObjectMesh mesh)int setMesh(Mesh mesh)

New Functions

WorldExpression Class

WorldLayer Class

Last update: 2017-07-03
Build: ()