Controller
From Moviesandbox
(Difference between revisions)
(New page: {{subst:Template:ClassTemplate}}) |
|||
| Line 1: | Line 1: | ||
| - | <h1>class | + | <h1>class Controller</h1> |
| - | ''derived from: [[ | + | ''derived from: [[Actor]]'' |
| - | + | The Controller allows the User to control certain Actors with mouse and keyboard through states. It also controls when to start or to stop a scene and manages the node trees in a scene. The Controller can "possess" actors and will use the possessed actors' position and rotation as the viewport camera. | |
<h3>Members:</h3> | <h3>Members:</h3> | ||
| - | <h4> | + | <h4>[[Actor]] * cameraActor</h4> |
| + | |||
| + | The viewport position reference. Also the Actor that gets moved when in MOVECAMERASTATE. | ||
<h3>Functions:</h3> | <h3>Functions:</h3> | ||
| Line 12: | Line 14: | ||
<h4>Function definition</h4> | <h4>Function definition</h4> | ||
| - | See also: [[ | + | See also: [[Input]], [[Actor]] |
[[Category:Code Index]] | [[Category:Code Index]] | ||
Revision as of 18:36, 18 March 2009
Contents |
class Controller
derived from: Actor
The Controller allows the User to control certain Actors with mouse and keyboard through states. It also controls when to start or to stop a scene and manages the node trees in a scene. The Controller can "possess" actors and will use the possessed actors' position and rotation as the viewport camera.
Members:
Actor * cameraActor
The viewport position reference. Also the Actor that gets moved when in MOVECAMERASTATE.

