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
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

Warning
The WorldTransform class was renamed WorldTransformPath
.
UNIGINEUNIGINE 2
WorldTransform()Removed
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.

Remarks:

  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

UNIGINEUNIGINE 2
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: ()