NAME

Ogre::Light

SYNOPSIS

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

DESCRIPTION

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

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

INSTANCE METHODS

$obj->setType($type)

Parameter types

$type : int

Returns

void

$obj->getType()

Returns

int

$obj->setDiffuseColour(...)

Parameter types

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

Returns

void

$obj->getDiffuseColour()

Returns

ColourValue *

$obj->setSpecularColour(...)

Parameter types

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

Returns

void

$obj->getSpecularColour()

Returns

ColourValue *

$obj->setAttenuation($Real range, $Real constant, $Real linear, $Real quadratic)

Parameter types

$Real range : (no info available)
$Real constant : (no info available)
$Real linear : (no info available)
$Real quadratic : (no info available)

Returns

void

$obj->getAttenuationRange()

Returns

Real

$obj->getAttenuationConstant()

Returns

Real

$obj->getAttenuationLinear()

Returns

Real

$obj->getAttenuationQuadric()

Returns

Real

$obj->setPosition(...)

Parameter types

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

Returns

void

$obj->getPosition()

Returns

Vector3 *

$obj->setDirection(...)

Parameter types

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

Returns

void

$obj->getDirection()

Returns

Vector3 *

$obj->setSpotlightRange($innerAngle, $outerAngle, $falloff=1.0)

Parameter types

$innerAngle : Degree (or Radian) *
$outerAngle : Degree (or Radian) *
$falloff=1.0 : Real

Returns

void

$obj->getSpotlightInnerAngle()

Returns

Radian *

$obj->getSpotlightOuterAngle()

Returns

Radian *

$obj->getSpotlightFalloff()

Returns

Real

$obj->setSpotlightInnerAngle($val)

Parameter types

$val : Degree (or Radian) *

Returns

void

$obj->setSpotlightOuterAngle($val)

Parameter types

$val : Degree (or Radian) *

Returns

void

$obj->setSpotlightFalloff($Real val)

Parameter types

$Real val : (no info available)

Returns

void

$obj->setPowerScale($Real power)

Parameter types

$Real power : (no info available)

Returns

void

$obj->getPowerScale()

Returns

Real

$obj->getBoundingBox()

Returns

AxisAlignedBox *

$obj->getMovableType()

Returns

String

$obj->getDerivedPosition()

Returns

Vector3 *

$obj->getDerivedDirection()

Returns

Vector3 *

$obj->setVisible($bool visible)

Parameter types

$bool visible : (no info available)

Returns

void

$obj->getBoundingRadius()

Returns

Real

$obj->getTypeFlags()

Returns

uint32

$obj->createAnimableValue($valueName)

Parameter types

$valueName : String

Returns

AnimableValue *

$obj->resetCustomShadowCameraSetup()

Returns

void

AUTHOR

Scott Lanning <slanning@cpan.org>

For licensing information, see README.txt .