Controller

From Moviesandbox

(Difference between revisions)
Jump to: navigation, search
(New page: {{subst:Template:ClassTemplate}})
Line 1: Line 1:
-
<h1>class MyClass</h1>
+
<h1>class Controller</h1>
-
''derived from: [[ParentClass]]''
+
''derived from: [[Actor]]''
-
Description of what the class does
+
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>MemberType * memberName</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: [[Controller]]
+
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.

Functions:

Function definition

See also: Input, Actor

Personal tools
Moviesandbox for UT2004