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::WorldIntersectionNormal Class

This class stores the normal of the intersection point. You should use this class when you need only the normal of the intersection.

To use this class, include the UnigineWorld.h file.

Unigine::WorldIntersectionNormal Class

Members


WorldIntersectionNormal ()

The WorldIntersectionNormal constructor.

virtual ~WorldIntersectionNormal ()

The virtual WorldIntersectionNormal destructor.

virtual UNIGINE_VEC3 getNormal () const =0

Returns the normal of the intersection point.

Return value

Normal of the intersection point.

virtual void setNormal () const =0

Sets the new normal of the intersection point.
Last update: 2017-07-03