C3DCamera::LockYAxis

Top  Previous  Next

Syntax:

 

LockYAxis(int  bLocked)

 

Purpose:

Locks the Y axis of the camera.

 

Parameters:

bLocked - TRUE to lock the Y axis of the camera at its current value, FALSE to allow the Y axis to change.

 

Returned value(s):

None

 

Example:

Any examples go here.

 

Additional Info:

Using a locked Y axis allows the camera to move in a first person shooter (FPS) style.  The height of the camera can be set with the SetY method.

 

See Also:

SetY