NAME

Ogre::Viewport

SYNOPSIS

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

DESCRIPTION

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

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

INSTANCE METHODS

$obj->update()

Returns

void

$obj->getTarget()

Returns

RenderTarget *

$obj->getCamera()

Returns

Camera *

$obj->setCamera($cam)

Parameter types

$cam : Camera *

Returns

void

$obj->getZOrder()

Returns

int

$obj->getLeft()

Returns

Real

$obj->getTop()

Returns

Real

$obj->getWidth()

Returns

Real

$obj->getHeight()

Returns

Real

$obj->getActualLeft()

Returns

int

$obj->getActualTop()

Returns

int

$obj->getActualWidth()

Returns

int

$obj->getActualHeight()

Returns

int

$obj->setDimensions($left, $top, $width, $height)

Parameter types

$left : Real
$top : Real
$width : Real
$height : Real

Returns

void

$obj->setBackgroundColour($colour)

Parameter types

$colour : ColourValue *colour

Returns

void

$obj->setClearEveryFrame($clear, $buffers=FBT_COLOUR|FBT_DEPTH)

Parameter types

$clear : bool
$buffers=FBT_COLOUR|FBT_DEPTH : unsigned int

Returns

void

$obj->getClearEveryFrame()

Returns

bool

$obj->getClearBuffers()

Returns

unsigned int

$obj->setMaterialScheme($schemeName)

Parameter types

$schemeName : String

Returns

void

$obj->getMaterialScheme()

Returns

String

$obj->getActualDimensions($OUTLIST int left, $OUTLIST int top, $OUTLIST int width, $OUTLIST int height)

Parameter types

$OUTLIST int left : (no info available)
$OUTLIST int top : (no info available)
$OUTLIST int width : (no info available)
$OUTLIST int height : (no info available)

Returns

void

$obj->setOverlaysEnabled($enabled)

Parameter types

$enabled : bool

Returns

void

$obj->getOverlaysEnabled()

Returns

bool

$obj->setSkiesEnabled($enabled)

Parameter types

$enabled : bool

Returns

void

$obj->getSkiesEnabled()

Returns

bool

$obj->setShadowsEnabled($enabled)

Parameter types

$enabled : bool

Returns

void

$obj->getShadowsEnabled()

Returns

bool

$obj->setVisibilityMask($mask)

Parameter types

$mask : uint32

Returns

void

$obj->getVisibilityMask()

Returns

uint32

$obj->setRenderQueueInvocationSequenceName($sequenceName)

Parameter types

$sequenceName : String

Returns

void

$obj->getRenderQueueInvocationSequenceName()

Returns

String

AUTHOR

Scott Lanning <slanning@cpan.org>

For licensing information, see README.txt .