Unigine::PlayerDummy Class
Header: | #include <UniginePlayers.h> |
Inherits: | Player |
This class is used to create a dummy camera that is a simple viewport into the world. It has no physical properties and cannot collide with objects.
PlayerDummy Class
Members
static PlayerDummyPtr create()
Constructor. Creates a new dummy player.Ptr<PlayerDummy> cast(const Ptr<Node> & node)
Arguments
- const Ptr<Node> & node
Ptr<PlayerDummy> cast(const Ptr<Player> & base)
Arguments
- const Ptr<Player> & base
setViewDirection(const Math::vec3 & direction)
Arguments
- const Math::vec3 & direction
getViewDirection()
int type()
Last update: 03.07.2017
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter