Scott Lanning > Ogre > Ogre::SceneNode

Download:
Ogre-0.60.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Source  

NAME ^

Ogre::SceneNode

SYNOPSIS ^

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

DESCRIPTION ^

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

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

INSTANCE METHODS ^

$obj->createChildSceneNode(...)

Parameter types

... : this varies... (sorry, look in the .xs file)

Returns

SceneNode *

$obj->attachObject($obj)

Parameter types

$obj : MovableObject *

Returns

void

$obj->detachObject($obj)

Parameter types

$obj : MovableObject *

Returns

void

$obj->getParentSceneNode()

Returns

SceneNode *

$obj->numAttachedObjects()

Returns

unsigned short

$obj->detachAllObjects()

Returns

void

$obj->removeAndDestroyAllChildren()

Returns

void

$obj->isInSceneGraph()

Returns

bool

$obj->getCreator()

Returns

SceneManager *

$obj->showBoundingBox($bShow)

Parameter types

$bShow : bool

Returns

void

$obj->getShowBoundingBox()

Returns

bool

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

Parameter types

$useFixed : bool
$fixedAxis : Vector3 *

Returns

void

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

Parameter types

$x : Real
$y : Real
$z : Real
$relativeTo : int
$localDirectionVector : Vector3 *

Returns

void

$obj->lookAt($targetPoint, $relativeTo, $localDirectionVector)

Parameter types

$targetPoint : Vector3 *
$relativeTo : int
$localDirectionVector : Vector3 *

Returns

void

$obj->setAutoTracking($enabled, $target, $localDirectionVector, $offset)

Parameter types

$enabled : bool
$target : SceneNode *
$localDirectionVector : Vector3 *
$offset : Vector3 *

Returns

void

$obj->getAutoTrackTarget()

Returns

SceneNode *

AUTHOR ^

Scott Lanning <slanning@cpan.org>

For licensing information, see README.txt .

syntax highlighting: