NAME

Ogre::Camera

SYNOPSIS

use Ogre;
use Ogre::Camera;
# (for now see examples/README.txt)

DESCRIPTION

See the online API documentation at http://www.ogre3d.org/docs/api/html/classOgre_1_1Camera.html

Note: this Perl binding is currently experimental and subject to API changes.

INSTANCE METHODS

$obj->setPosition($x, $y, $z)

Parameter types

$x : Real
$y : Real
$z : Real

Returns

void

$obj->getSceneManager()

Returns

SceneManager *

$obj->getViewport()

Returns

Viewport *

$obj->getParentSceneNode()

Returns

SceneNode *

$obj->getParentNode()

Returns

Node *

$obj->lookAt($x, $y, $z)

Parameter types

$x : Real
$y : Real
$z : Real

Returns

void

$obj->setAspectRatio($ratio)

Parameter types

$ratio : Real

Returns

void

$obj->setNearClipDistance($nearDist)

Parameter types

$nearDist : Real

Returns

void

$obj->moveRelative($vec)

Parameter types

$vec : Vector3 *

Returns

void

$obj->move($vec)

Parameter types

$vec : Vector3 *

Returns

void

$obj->roll($angle)

Parameter types

$angle : Degree (or Radian) *

Returns

void

$obj->yaw($angle)

Parameter types

$angle : Degree (or Radian) *

Returns

void

$obj->pitch($angle)

Parameter types

$angle : Degree (or Radian) *

Returns

void

$obj->rotate($q)

Parameter types

$q : Quaternion *

Returns

void

$obj->setFixedYawAxis($useFixed, $fixedAxis)

Parameter types

$useFixed : bool
$fixedAxis : Vector3 *

Returns

void

$obj->setOrientation($q)

Parameter types

$q : Quaternion *

Returns

void

$obj->setDirection($x, $y, $z)

Parameter types

$x : Real
$y : Real
$z : Real

Returns

void

AUTHOR

Scott Lanning <slanning@cpan.org>

For licensing information, see README.txt .