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: 03.07.2017
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter