Saga3D API Documentation
1.0-RC4
|
Special scene node animator for Maya-style cameras. More...
#include <ISceneNodeAnimatorCameraMaya.h>
Public Member Functions | |
virtual float | getMoveSpeed () const =0 |
Returns the speed of movement. More... | |
virtual void | setMoveSpeed (float moveSpeed)=0 |
Sets the speed of movement. More... | |
virtual float | getRotateSpeed () const =0 |
Returns the rotation speed. More... | |
virtual void | setRotateSpeed (float rotateSpeed)=0 |
Set the rotation speed. More... | |
virtual float | getZoomSpeed () const =0 |
Returns the zoom speed. More... | |
virtual void | setZoomSpeed (float zoomSpeed)=0 |
Set the zoom speed. More... | |
virtual float | getDistance () const =0 |
Returns the current distance, i.e. orbit radius. More... | |
virtual void | setDistance (float distance)=0 |
Set the distance. More... | |
virtual void | setTargetMinDistance (float minDistance)=0 |
Set the minimal distance to the camera target for zoom. More... | |
virtual float | getTargetMinDistance () const =0 |
Returns the minimal distance to the camera target for zoom. More... | |
![]() | |
ISceneNodeAnimator () | |
virtual void | animateNode (ISceneNode &node, const float time)=0 |
Animates a scene node. More... | |
virtual void | onEvent (const SDL_Event &event) override |
Creates a clone of this animator. More... | |
virtual E_SCENE_NODE_ANIMATOR_TYPE | getType () const |
Returns type of the scene node animator. More... | |
virtual bool | hasFinished (void) const |
Returns if the animator has finished. More... | |
virtual void | setStartTime (std::uint32_t time, bool resetPauseTime=true) |
Reset a time-based movement by changing the starttime. More... | |
virtual std::uint32_t | getStartTime () const |
Get the starttime. More... | |
virtual void | setEnabled (bool enabled, std::uint32_t timeNow=0) |
Sets the enabled state of this element. More... | |
virtual bool | isEnabled () const |
![]() | |
virtual | ~IEventReceiver () |
Destructor. More... | |
Additional Inherited Members | |
![]() | |
bool | IsEnabled |
std::uint32_t | PauseTimeSum |
Only enabled animators are updated. More... | |
std::uint32_t | PauseTimeStart |
Sum up time which the animator was disabled. More... | |
std::uint32_t | StartTime |
Last time setEnabled(false) was called with a timer > 0. More... | |
Special scene node animator for Maya-style cameras.
This scene node animator can be attached to a camera to make it act like a 3d modeling tool. The camera is moving relative to the target with the mouse, by pressing either of the three buttons. In order to move the camera, set a new target for the camera. The distance defines the current orbit radius the camera moves on. Distance can be changed via the setter or by mouse events.
Definition at line 25 of file ISceneNodeAnimatorCameraMaya.h.
|
pure virtual |
Returns the current distance, i.e. orbit radius.
|
pure virtual |
Returns the speed of movement.
|
pure virtual |
Returns the rotation speed.
|
pure virtual |
Returns the minimal distance to the camera target for zoom.
|
pure virtual |
Returns the zoom speed.
|
pure virtual |
Set the distance.
|
pure virtual |
Sets the speed of movement.
|
pure virtual |
Set the rotation speed.
|
pure virtual |
Set the minimal distance to the camera target for zoom.
|
pure virtual |
Set the zoom speed.