This page has been translated automatically.
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
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.

Unigine::Editor Class

UNIGINEUNIGINE 2.0Comments
-NodePtr getIntersection(const UNIGINE_VEC3 & p0, const UNIGINE_VEC3 & p1, UNIGINE_VEC3 * ret_point, vec3 * ret_normal, vec4 * ret_texcoord, int * ret_index, int * ret_surface) Searches for all of the nodes intersecting the line.
-NodePtr getIntersection(const UNIGINE_VEC3 & p0, const UNIGINE_VEC3 & p1, const Vector< NodePtr > & exclude, UNIGINE_VEC3 * ret_point, vec3 * ret_normal, vec4 * ret_texcoord, int * ret_index, int * ret_surface) Searches for all of the nodes (excluding those ones that are in the exclude array) intersecting the line.
-virtual void setData (const char * data) const =0 Sets user data associated with the world.
-virtual const char * getData () const =0 Returns user string data associated with the world.
-virtual void setEnabled (int enable) const =0 Enables or disables the editor.
-virtual int isEnabled () const =0 Returns a value indicating if the editor is enabled.
Last update: 2017-07-03
Build: ()