Ogre::Node - Ogre::Node documentation


Ogre documentation Contained in the Ogre distribution.

Index


Code Index:

NAME

Top

Ogre::Node

SYNOPSIS

Top

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

DESCRIPTION

Top

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

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

CLASS METHODS

Top

Ogre::Node->queueNeedUpdate($Node *n)

Parameter types

$Node *n : (no info available)

Returns

void

Ogre::Node->processQueuedUpdates()

Returns

void

INSTANCE METHODS

Top

$obj->getName()

Returns

String

$obj->getParent()

Returns

Node *

$obj->getOrientation()

Returns

Quaternion *

$obj->setOrientation(...)

Parameter types

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

Returns

void

$obj->resetOrientation()

Returns

void

$obj->setPosition(...)

Parameter types

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

Returns

void

$obj->getPosition()

Returns

Vector3 *

$obj->setScale(...)

Parameter types

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

Returns

void

$obj->getScale()

Returns

Vector3 *

$obj->setInheritOrientation($bool inherit)

Parameter types

$bool inherit : (no info available)

Returns

void

$obj->getInheritOrientation()

Returns

bool

$obj->setInheritScale($bool inherit)

Parameter types

$bool inherit : (no info available)

Returns

void

$obj->getInheritScale()

Returns

bool

$obj->scale(...)

Parameter types

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

Returns

void

$obj->translate(...)

Parameter types

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

Returns

void

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

Parameter types

$DegRad *angle : (no info available)
$int relativeTo=Node::TS_LOCAL : (no info available)

Returns

void

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

Parameter types

$DegRad *angle : (no info available)
$int relativeTo=Node::TS_LOCAL : (no info available)

Returns

void

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

Parameter types

$DegRad *angle : (no info available)
$int relativeTo=Node::TS_LOCAL : (no info available)

Returns

void

$obj->rotate(...)

Parameter types

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

Returns

void

$obj->getLocalAxes()

Returns

Matrix3 *

$obj->createChild(...)

Parameter types

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

Returns

Node *

$obj->addChild($child)

Parameter types

$child : Node *

Returns

void

$obj->numChildren()

Returns

unsigned short

$obj->getChild(...)

Parameter types

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

Returns

Node *

$obj->removeChild(...)

Parameter types

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

Returns

Node *

$obj->removeAllChildren()

Returns

void

$obj->getMaterial()

Returns

Material *

$obj->getRenderOperation($OUTLIST RenderOperation *op)

Parameter types

$OUTLIST RenderOperation *op : (no info available)

Returns

void

$obj->getWorldOrientation()

Returns

Quaternion *

$obj->getWorldPosition()

Returns

Vector3 *

$obj->setInitialState()

Returns

void

$obj->resetToInitialState()

Returns

void

$obj->getInitialPosition()

Returns

Vector3 *

$obj->getInitialOrientation()

Returns

Quaternion *

$obj->getInitialScale()

Returns

Vector3 *

$obj->getSquaredViewDepth($const Camera *cam)

Parameter types

$const Camera *cam : (no info available)

Returns

Real

$obj->needUpdate($bool forceParentUpdate=false)

Parameter types

$bool forceParentUpdate=false : (no info available)

Returns

void

$obj->requestUpdate($Node *child, $bool forceParentUpdate=false)

Parameter types

$Node *child : (no info available)
$bool forceParentUpdate=false : (no info available)

Returns

void

$obj->cancelUpdate($Node *child)

Parameter types

$Node *child : (no info available)

Returns

void

AUTHOR

Top

Scott Lanning <slanning@cpan.org>

For licensing information, see README.txt .


Ogre documentation Contained in the Ogre distribution.

package Ogre::Node;

use strict;
use warnings;

########## GENERATED CONSTANTS BEGIN
require Exporter;
unshift @Ogre::Node::ISA, 'Exporter';

our %EXPORT_TAGS = (
	'TransformSpace' => [qw(
		TS_LOCAL
		TS_PARENT
		TS_WORLD
	)],
);

$EXPORT_TAGS{'all'} = [ map { @{ $EXPORT_TAGS{$_} } } keys %EXPORT_TAGS ];
our @EXPORT_OK = @{ $EXPORT_TAGS{'all'} };
our @EXPORT = ();
########## GENERATED CONSTANTS END

1;

__END__