The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Ogre::BillboardSet

SYNOPSIS

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

DESCRIPTION

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

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

CLASS METHODS

Ogre::BillboardSet->new($name, $poolSize=20, $externalDataSource=false)

Parameter types

$name : String
$poolSize=20 : unsigned int
$externalDataSource=false : bool

Returns

BillboardSet *

Ogre::BillboardSet->DESTROY()

This method is called automatically; don't call it yourself.

INSTANCE METHODS

$obj->createBillboard($x, $y, $z, $colour=&ColourValue::White)

Parameter types

$x : Real
$y : Real
$z : Real
$colour=&ColourValue::White : const ColourValue *

Returns

Billboard *

$obj->getNumBillboards()

Returns

int

$obj->setAutoextend($bool autoextend)

Parameter types

$bool autoextend : (no info available)

Returns

void

$obj->getAutoextend()

Returns

bool

$obj->setSortingEnabled($bool sortenable)

Parameter types

$bool sortenable : (no info available)

Returns

void

$obj->getSortingEnabled()

Returns

bool

$obj->setPoolSize($size_t size)

Parameter types

$size_t size : (no info available)

Returns

void

$obj->getPoolSize()

Returns

unsigned int

$obj->clear()

Returns

void

$obj->getBillboard($unsigned int index)

Parameter types

$unsigned int index : (no info available)

Returns

Billboard *

$obj->removeBillboard($unsigned int index)

Parameter types

$unsigned int index : (no info available)

Returns

void

$obj->setBillboardOrigin($int origin)

Parameter types

$int origin : (no info available)

Returns

void

$obj->getBillboardOrigin()

Returns

int

$obj->setBillboardRotationType($int rotationType)

Parameter types

$int rotationType : (no info available)

Returns

void

$obj->getBillboardRotationType()

Returns

int

$obj->setDefaultDimensions($Real width, $Real height)

Parameter types

$Real width : (no info available)
$Real height : (no info available)

Returns

void

$obj->setDefaultWidth($Real width)

Parameter types

$Real width : (no info available)

Returns

void

$obj->getDefaultWidth()

Returns

Real

$obj->setDefaultHeight($Real height)

Parameter types

$Real height : (no info available)

Returns

void

$obj->getDefaultHeight()

Returns

Real

$obj->setMaterialName($name)

Parameter types

$name : String

Returns

void

$obj->getMaterialName()

Returns

String

$obj->beginBillboards($size_t numBillboards=0)

Parameter types

$size_t numBillboards=0 : (no info available)

Returns

void

$obj->injectBillboard($bb)

Parameter types

$bb : const Billboard *

Returns

void

$obj->endBillboards()

Returns

void

$obj->setBounds($box, $radius)

Parameter types

$box : const AxisAlignedBox *
$radius : Real

Returns

void

$obj->getBoundingRadius()

Returns

Real

$obj->getCullIndividually()

Returns

bool

$obj->setCullIndividually($bool cullIndividual)

Parameter types

$bool cullIndividual : (no info available)

Returns

void

$obj->setBillboardType($int bbt)

Parameter types

$int bbt : (no info available)

Returns

void

$obj->getBillboardType()

Returns

int

$obj->setCommonDirection($vec)

Parameter types

$vec : const Vector3 *

Returns

void

$obj->setCommonUpVector($vec)

Parameter types

$vec : const Vector3 *

Returns

void

$obj->setUseAccurateFacing($bool acc)

Parameter types

$bool acc : (no info available)

Returns

void

$obj->getUseAccurateFacing()

Returns

bool

$obj->getMovableType()

Returns

String

$obj->getSquaredViewDepth($cam)

Parameter types

$cam : const Camera *

Returns

Real

$obj->setBillboardsInWorldSpace($bool ws)

Parameter types

$bool ws : (no info available)

Returns

void

$obj->setTextureStacksAndSlices($uchar stacks, $uchar slices)

Parameter types

$uchar stacks : (no info available)
$uchar slices : (no info available)

Returns

void

$obj->setPointRenderingEnabled($bool enabled)

Parameter types

$bool enabled : (no info available)

Returns

void

$obj->isPointRenderingEnabled()

Returns

bool

$obj->getTypeFlags()

Returns

uint32

AUTHOR

Scott Lanning <slanning@cpan.org>

For licensing information, see README.txt .