注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
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
Help improve this article
(or select a word/phrase and press Ctrl+Enter)