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
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

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