Ogre::SceneNode - Ogre::SceneNode documentation


Ogre documentation Contained in the Ogre distribution.

Index


Code Index:

NAME

Top

Ogre::SceneNode

SYNOPSIS

Top

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

DESCRIPTION

Top

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

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

INSTANCE METHODS

Top

$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

Top

Scott Lanning <slanning@cpan.org>

For licensing information, see README.txt .


Ogre documentation Contained in the Ogre distribution.

package Ogre::SceneNode;

use strict;
use warnings;

use Ogre::Node;
our @ISA = qw(Ogre::Node);


1;

__END__