NAME

Ogre::Node

SYNOPSIS

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

DESCRIPTION

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

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

CLASS METHODS

Ogre::Node->queueNeedUpdate($n)

Parameter types

$n : Node *

Returns

void

Ogre::Node->processQueuedUpdates()

Returns

void

Ogre::Node->TS_LOCAL()

Returns

int

INSTANCE METHODS

$obj->roll($angle, $relativeTo=Node::TS_LOCAL)

Parameter types

$angle : Degree (or Radian) *
$relativeTo=Node::TS_LOCAL : int

Returns

void

$obj->pitch($angle, $relativeTo=Node::TS_LOCAL)

Parameter types

$angle : Degree (or Radian) *
$relativeTo=Node::TS_LOCAL : int

Returns

void

$obj->yaw($angle, $relativeTo=Node::TS_LOCAL)

Parameter types

$angle : Degree (or Radian) *
$relativeTo=Node::TS_LOCAL : int

Returns

void

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

Parameter types

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

Returns

void

$obj->rotate($axis, $angle, $relativeTo=Node::TS_LOCAL)

Parameter types

$axis : Vector3 *
$angle : Degree (or Radian) *
$relativeTo=Node::TS_LOCAL : int

Returns

void

$obj->getName()

Returns

String

$obj->getParent()

Returns

Node *

$obj->getOrientation()

Returns

Quaternion *

$obj->setOrientation($w, $x, $y, $z)

Parameter types

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

Returns

void

$obj->resetOrientation()

Returns

void

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

Parameter types

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

Returns

void

$obj->getPosition()

Returns

Vector3 *

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

Parameter types

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

Returns

void

$obj->setInheritOrientation($inherit)

Parameter types

$inherit : bool

Returns

void

$obj->getInheritOrientation()

Returns

bool

$obj->setInheritScale($inherit)

Parameter types

$inherit : bool

Returns

void

$obj->getInheritScale()

Returns

bool

$obj->translate($x, $y, $z, $relativeTo=Node::TS_PARENT)

Parameter types

$x : Real
$y : Real
$z : Real
$relativeTo=Node::TS_PARENT : int

Returns

void

$obj->addChild($child)

Parameter types

$child : Node *

Returns

void

$obj->numChildren()

Returns

unsigned short

$obj->getChild($name)

Parameter types

$name : String

Returns

Node *

$obj->removeChild($name)

Parameter types

$name : String

Returns

void

$obj->removeAllChildren()

Returns

void

AUTHOR

Scott Lanning <slanning@cpan.org>

For licensing information, see README.txt .