NAME

Ogre::SceneManager

SYNOPSIS

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

DESCRIPTION

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

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

CLASS METHODS

Ogre::SceneManager->ST_GENERIC()

Returns

uint16

Ogre::SceneManager->PT_PLANE()

Returns

int

Ogre::SceneManager->SHADOWTYPE_NONE()

Returns

int

INSTANCE METHODS

$obj->getName()

Returns

String

$obj->getTypeName()

Returns

String

$obj->createCamera($name)

Parameter types

$name : String

Returns

Camera *

$obj->getCamera($name)

Parameter types

$name : String

Returns

Camera *

$obj->hasCamera($name)

Parameter types

$name : String

Returns

bool

$obj->destroyCamera($name)

Parameter types

$name : String

Returns

void

$obj->destroyAllCameras()

Returns

void

$obj->createLight($name)

Parameter types

$name : String

Returns

Light *

$obj->getLight($name)

Parameter types

$name : String

Returns

Light *

$obj->hasLight($name)

Parameter types

$name : String

Returns

bool

$obj->destroyLight($name)

Parameter types

$name : String

Returns

void

$obj->destroyAllLights()

Returns

void

$obj->createSceneNode($name)

Parameter types

$name : String

Returns

SceneNode *

$obj->destroySceneNode($name)

Parameter types

$name : String

Returns

void

$obj->getRootSceneNode()

Returns

SceneNode *

$obj->getSceneNode($name)

Parameter types

$name : String

Returns

SceneNode *

$obj->hasSceneNode($name)

Parameter types

$name : String

Returns

bool

$obj->createEntity($entityName, $meshName)

Parameter types

$entityName : String
$meshName : String

Returns

Entity *

$obj->getEntity($name)

Parameter types

$name : String

Returns

Entity *

$obj->hasEntity($name)

Parameter types

$name : String

Returns

bool

$obj->destroyEntity($name)

Parameter types

$name : String

Returns

void

$obj->destroyAllEntities()

Returns

void

$obj->createManualObject($name)

Parameter types

$name : String

Returns

ManualObject *

$obj->getManualObject($name)

Parameter types

$name : String

Returns

ManualObject *

$obj->hasManualObject($name)

Parameter types

$name : String

Returns

bool

$obj->destroyManualObject($name)

Parameter types

$name : String

Returns

void

$obj->destroyAllManualObjects()

Returns

void

$obj->createBillboardChain($name)

Parameter types

$name : String

Returns

BillboardChain *

$obj->getBillboardChain($name)

Parameter types

$name : String

Returns

BillboardChain *

$obj->hasBillboardChain($name)

Parameter types

$name : String

Returns

bool

$obj->destroyBillboardChain($name)

Parameter types

$name : String

Returns

void

$obj->destroyAllBillboardChains()

Returns

void

$obj->createRibbonTrail($name)

Parameter types

$name : String

Returns

RibbonTrail *

$obj->getRibbonTrail($name)

Parameter types

$name : String

Returns

RibbonTrail *

$obj->hasRibbonTrail($name)

Parameter types

$name : String

Returns

bool

$obj->destroyRibbonTrail($name)

Parameter types

$name : String

Returns

void

$obj->destroyAllRibbonTrails()

Returns

void

$obj->createParticleSystem($name, $templateName)

Parameter types

$name : String
$templateName : String

Returns

ParticleSystem *

$obj->getParticleSystem($name)

Parameter types

$name : String

Returns

ParticleSystem *

$obj->hasParticleSystem($name)

Parameter types

$name : String

Returns

bool

$obj->destroyParticleSystem($name)

Parameter types

$name : String

Returns

void

$obj->destroyAllParticleSystems()

Returns

void

$obj->clearScene()

Returns

void

$obj->setAmbientLight($colour)

Parameter types

$colour : ColourValue *

Returns

void

$obj->setWorldGeometry($filename)

Parameter types

$filename : String

Returns

void

$obj->estimateWorldGeometry($filename)

Parameter types

$filename : String

Returns

size_t

$obj->hasOption($strKey)

Parameter types

$strKey : String

Returns

bool

$obj->setSkyPlane($enable, $plane, $materialName, $scale, $tiling, $drawFirst, $bow, $xsegments, $ysegments, $groupName)

Parameter types

$enable : bool
$plane : Plane *
$materialName : String
$scale : Real
$tiling : Real
$drawFirst : bool
$bow : Real
$xsegments : int
$ysegments : int
$groupName : String

Returns

void

$obj->isSkyPlaneEnabled()

Returns

bool

$obj->getSkyPlaneNode()

Returns

SceneNode *

$obj->setSkyBox($enable, $materialName, $distance, $drawFirst, $orientation, $groupName)

Parameter types

$enable : bool
$materialName : String
$distance : Real
$drawFirst : bool
$orientation : Quaternion *
$groupName : String

Returns

void

$obj->isSkyBoxEnabled()

Returns

bool

$obj->getSkyBoxNode()

Returns

SceneNode *

$obj->setSkyDome($enable, $materialName, $curvature, $tiling, $distance, $drawFirst, $orientation, $xsegments, $ysegments, $ysegments_keep, $groupName)

Parameter types

$enable : bool
$materialName : String
$curvature : Real
$tiling : Real
$distance : Real
$drawFirst : bool
$orientation : Quaternion *
$xsegments : int
$ysegments : int
$ysegments_keep : int
$groupName : String

Returns

void

$obj->isSkyDomeEnabled()

Returns

bool

$obj->getSkyDomeNode()

Returns

SceneNode *

$obj->setFog($mode, $colour, $expDensity=0.001, $linearStart=0.0, $linearEnd=1.0)

Parameter types

$mode : int
$colour : ColourValue *
$expDensity=0.001 : Real
$linearStart=0.0 : Real
$linearEnd=1.0 : Real

Returns

void

$obj->getFogMode()

Returns

int

$obj->getFogStart()

Returns

Real

$obj->getFogEnd()

Returns

Real

$obj->getFogDensity()

Returns

Real

$obj->createBillboardSet($name, $poolSize=20)

Parameter types

$name : String
$poolSize=20 : unsigned int

Returns

BillboardSet *

$obj->getBillboardSet($name)

Parameter types

$name : String

Returns

BillboardSet *

$obj->hasBillboardSet($name)

Parameter types

$name : String

Returns

bool

$obj->destroyBillboardSet($name)

Parameter types

$name : String

Returns

void

$obj->destroyAllBillboardSets()

Returns

void

$obj->setDisplaySceneNodes($display)

Parameter types

$display : bool

Returns

void

$obj->getDisplaySceneNodes()

Returns

bool

$obj->createAnimation($name, $length)

Parameter types

$name : String
$length : Real

Returns

Animation *

$obj->getAnimation($name)

Parameter types

$name : String

Returns

Animation *

$obj->hasAnimation($name)

Parameter types

$name : String

Returns

bool

$obj->destroyAnimation($name)

Parameter types

$name : String

Returns

void

$obj->destroyAllAnimations()

Returns

void

$obj->createAnimationState($name)

Parameter types

$name : String

Returns

AnimationState *

$obj->getAnimationState($name)

Parameter types

$name : String

Returns

AnimationState *

$obj->hasAnimationState($name)

Parameter types

$name : String

Returns

bool

$obj->destroyAnimationState($name)

Parameter types

$name : String

Returns

void

$obj->destroyAllAnimationStates()

Returns

void

$obj->showBoundingBoxes($bShow)

Parameter types

$bShow : bool

Returns

void

$obj->getShowBoundingBoxes()

Returns

bool

$obj->setShadowTechnique($technique)

Parameter types

$technique : int

Returns

void

$obj->getShadowTechnique()

Returns

int

$obj->setShowDebugShadows($debug)

Parameter types

$debug : bool

Returns

void

$obj->getShowDebugShadows()

Returns

bool

$obj->setShadowColour($colour)

Parameter types

$colour : ColourValue *

Returns

void

$obj->setShadowDirectionalLightExtrusionDistance($dist)

Parameter types

$dist : Real

Returns

void

$obj->getShadowDirectionalLightExtrusionDistance()

Returns

Real

$obj->setShadowFarDistance($distance)

Parameter types

$distance : Real

Returns

void

$obj->getShadowFarDistance()

Returns

Real

$obj->setShadowIndexBufferSize($size)

Parameter types

$size : size_t

Returns

void

$obj->getShadowIndexBufferSize()

Returns

size_t

$obj->setShadowTextureSize($size)

Parameter types

$size : unsigned short

Returns

void

$obj->createStaticGeometry($name)

Parameter types

$name : String

Returns

StaticGeometry *

$obj->getStaticGeometry($name)

Parameter types

$name : String

Returns

StaticGeometry *

$obj->hasStaticGeometry($name)

Parameter types

$name : String

Returns

bool

$obj->destroyStaticGeometry($name)

Parameter types

$name : String

Returns

void

$obj->destroyAllStaticGeometry()

Returns

void

$obj->createInstancedGeometry($name)

Parameter types

$name : String

Returns

InstancedGeometry *

$obj->getInstancedGeometry($name)

Parameter types

$name : String

Returns

InstancedGeometry *

$obj->destroyInstancedGeometry($name)

Parameter types

$name : String

Returns

void

$obj->destroyAllInstancedGeometry()

Returns

void

$obj->createMovableObject($name, $typeName)

Parameter types

$name : String
$typeName : String

Returns

MovableObject *

$obj->getMovableObject($name, $typeName)

Parameter types

$name : String
$typeName : String

Returns

MovableObject *

$obj->hasMovableObject($name, $typeName)

Parameter types

$name : String
$typeName : String

Returns

bool

$obj->destroyMovableObject($name, $typeName)

Parameter types

$name : String
$typeName : String

Returns

void

$obj->destroyAllMovableObjects()

Returns

void

$obj->destroyAllMovableObjectsByType($typeName)

Parameter types

$typeName : String

Returns

void

$obj->injectMovableObject($m)

Parameter types

$m : MovableObject *

Returns

void

$obj->extractMovableObject($name, $typeName)

Parameter types

$name : String
$typeName : String

Returns

void

$obj->extractAllMovableObjectsByType($typeName)

Parameter types

$typeName : String

Returns

void

$obj->setVisibilityMask($vmask)

Parameter types

$vmask : unsigned int

Returns

void

$obj->getVisibilityMask()

Returns

unsigned int

$obj->setFindVisibleObjects($find)

Parameter types

$find : bool

Returns

void

$obj->getFindVisibleObjects()

Returns

bool

$obj->getCurrentViewport()

Returns

Viewport *

AUTHOR

Scott Lanning <slanning@cpan.org>

For licensing information, see README.txt .