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
Returns
- void
$obj->getType()
Returns
- int
$obj->setDiffuseColour(...)
Parameter types
Returns
- void
$obj->getDiffuseColour()
Returns
$obj->setSpecularColour(...)
Parameter types
Returns
- void
$obj->getSpecularColour()
Returns
$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
Returns
- void
$obj->getPosition()
Returns
$obj->setDirection(...)
Parameter types
Returns
- void
$obj->getDirection()
Returns
$obj->setSpotlightRange($innerAngle, $outerAngle, $falloff=1.0)
Parameter types
Returns
- void
$obj->getSpotlightInnerAngle()
Returns
$obj->getSpotlightOuterAngle()
Returns
$obj->getSpotlightFalloff()
Returns
- Real
$obj->setSpotlightInnerAngle($val)
Parameter types
Returns
- void
$obj->setSpotlightOuterAngle($val)
Parameter types
Returns
- void
$obj->setSpotlightFalloff($Real val)
Parameter types
Returns
- void
$obj->setPowerScale($Real power)
Parameter types
Returns
- void
$obj->getPowerScale()
Returns
- Real
$obj->getBoundingBox()
Returns
$obj->getMovableType()
Returns
- String
$obj->getDerivedPosition()
Returns
$obj->getDerivedDirection()
Returns
$obj->setVisible($bool visible)
Parameter types
Returns
- void
$obj->getBoundingRadius()
Returns
- Real
$obj->getTypeFlags()
Returns
- uint32
$obj->createAnimableValue($valueName)
Parameter types
Returns
$obj->resetCustomShadowCameraSetup()
Returns
- void
AUTHOR
Scott Lanning <slanning@cpan.org>
For licensing information, see README.txt .