注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
Unigine::GameIntersection Class
Header: | #include <UnigineGame.h> |
Stores the result of the engine.game.getIntersection() function: the point where the intersection with anobstacle 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
(or select a word/phrase and press Ctrl+Enter)