Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Unigine::ObjectIntersectionNormal Class
Header: | #include <UnigineObjects.h> |
Inherits: | ObjectIntersection |
ObjectIntersectionNormal Class
Members
static ObjectIntersectionNormalPtr create ( ) #
The ObjectIntersectionNormal constructor.void setNormal ( const Math::vec3 & normal ) #
Sets the new normal of the intersection point.Arguments
- const Math::vec3 & normal - Normal of the intersection point.
Math::vec3 getNormal ( ) const#
Returns the normal of the intersection point.Return value
Normal of the intersection point.Last update:
2020-11-24
Help improve this article
(or select a word/phrase and press Ctrl+Enter)