Unigine::GameIntersection Class
Header: | #include <UnigineGame.h> |
Stores the result of the engine.game.getIntersection() function: the point where the intersection with an obstacle has been occurred.
GameIntersection Class
Members
static GameIntersectionPtr create()
The GameIntersection constructor.void setPoint(const Math::Vec3 & point)
Sets new coordinates of the intersection point.Arguments
- const Math::Vec3 & point - Coordinates of the intersection point.
Math::Vec3 getPoint()
Returns coordinates of the intersection point.Return value
Coordinates of the intersection point.Last update: 2017-07-03
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)