Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

KX_CameraActuator Class Reference

The camera actuator does a Robbie Muller prespective for you. More...

#include <KX_CameraActuator.h>

Inheritance diagram for KX_CameraActuator:

SCA_IActuator SCA_ILogicBrick CValue PyObjectPlus PyObject List of all members.

Public Methods

 KX_CameraActuator (SCA_IObject *gameobj, CValue *ob, float hght, float minhght, float maxhght, bool xytog, PyTypeObject* T=&Type)
 Set the bool toggle to true to use x lock, false for y lock. More...

virtual ~KX_CameraActuator ()
virtual CValueGetReplica ()
virtual bool Update (double curtime,double deltatime)
virtual PyObject_getattr (char *attr)
PyObjectPySet (PyObject* self, PyObject* args, PyObject* kwds)

Static Public Methods

PyObjectsPySet (PyObject* self, PyObject* args, PyObject* kwds)

Static Public Attributes

CCString X_AXIS_STRING = "x"
 KX_CameraActuator.cpp. More...

CCString Y_AXIS_STRING = "y"

Detailed Description

The camera actuator does a Robbie Muller prespective for you.

This is a weird set of rules that positions the camera sort of behind the object, tracking, while avoiding any objects between the 'ideal' position and the actor being tracked.

Definition at line 20 of file KX_CameraActuator.h.


Constructor & Destructor Documentation

KX_CameraActuator::KX_CameraActuator ( SCA_IObject * gameobj,
CValue * ob,
float hght,
float minhght,
float maxhght,
bool xytog,
PyTypeObject * T = &Type )
 

Set the bool toggle to true to use x lock, false for y lock.

Definition at line 21 of file KX_CameraActuator.cpp.

Referenced by GetReplica().

KX_CameraActuator::~KX_CameraActuator ( ) [virtual]
 

Definition at line 39 of file KX_CameraActuator.cpp.


Member Function Documentation

CValue * KX_CameraActuator::GetReplica ( ) [inline, virtual]
 

Reimplemented from CValue.

Definition at line 60 of file KX_CameraActuator.h.

PyObject * KX_CameraActuator::PySet ( PyObject * self,
PyObject * args,
PyObject * kwds )
 

Definition at line 314 of file KX_CameraActuator.cpp.

bool KX_CameraActuator::Update ( double curtime,
double deltatime ) [virtual]
 

Reimplemented from SCA_IActuator.

Definition at line 120 of file KX_CameraActuator.cpp.

PyObject * KX_CameraActuator::_getattr ( char * attr ) [virtual]
 

Reimplemented from SCA_ILogicBrick.

Definition at line 308 of file KX_CameraActuator.cpp.

PyObject * KX_CameraActuator::sPySet ( PyObject * self,
PyObject * args,
PyObject * kwds ) [inline, static]
 

Definition at line 77 of file KX_CameraActuator.h.


Member Data Documentation

CCString KX_CameraActuator::X_AXIS_STRING = "x" [static]
 

KX_CameraActuator.cpp.

Version:

Id:
KX_CameraActuator.cpp,v 1.2 2001/01/19 01:16:54 coockie Exp

Definition at line 46 of file KX_CameraActuator.h.

CCString KX_CameraActuator::Y_AXIS_STRING = "y" [static]
 

Definition at line 47 of file KX_CameraActuator.h.


The documentation for this class was generated from the following files:
Generated at Thu Feb 1 13:03:39 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000