afxCamera
A 3rd person camera object.
Public Static Attributes
bool
Disables rendering of all instances of this type.
bool
Disables selection of all instances of this type.
Public Functions
string
getMode()
Point3F
Get the position of the camera.
float
Point3F
float
Point3F
bool
setCameraSubject(SceneObject subject)
void
Set the camera to be able to fly freely.
void
setOrbitMode(GameBase orbitObject, TransformF mat, float minDistance, float maxDistance, float curDistance, bool ownClientObject)
Set the camera to orbit around some given object.
bool
setThirdPersonAngle(float distance)
bool
setThirdPersonDistance(float distance)
void
void
setThirdPersonOffset(Point3F offset, Point3F coi_offset)
void
Detailed Description
A 3rd person camera object.
Public Static Attributes
bool isRenderable
Disables rendering of all instances of this type.
bool isSelectable
Disables selection of all instances of this type.
Public Functions
getMode()
getPosition()
Get the position of the camera.
The position of the camera.
getThirdPersonAngle()
getThirdPersonCOIOffset()
getThirdPersonDistance()
getThirdPersonOffset()
setCameraSubject(SceneObject subject)
setFlyMode()
Set the camera to be able to fly freely.
setOrbitMode(GameBase orbitObject, TransformF mat, float minDistance, float maxDistance, float curDistance, bool ownClientObject)
Set the camera to orbit around some given object.
Parameters:
orbitObject | Object we want to orbit. |
mat | A set of fields: posX posY posZ aaX aaY aaZ aaTheta |
minDistance | Minimum distance to keep from object. |
maxDistance | Maximum distance to keep from object. |
curDistance | Distance to set initially from object. |
ownClientObj | Are we observing an object owned by us? |
setThirdPersonAngle(float distance)
setThirdPersonDistance(float distance)
setThirdPersonMode()
setThirdPersonOffset(Point3F offset, Point3F coi_offset)
setThirdPersonSnap()