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.

CLASS METHODS

Ogre::Light->LT_POINT()

Returns

int

INSTANCE METHODS

$obj->setType($type)

Parameter types

$type : int

Returns

void

$obj->setPosition($x, $y, $z)

Parameter types

$x : Real
$y : Real
$z : Real

Returns

void

$obj->setDiffuseColour($red, $green, $blue)

Parameter types

$red : Real
$green : Real
$blue : Real

Returns

void

$obj->setSpecularColour($red, $green, $blue)

Parameter types

$red : Real
$green : Real
$blue : Real

Returns

void

$obj->setDirection($x, $y, $z)

Parameter types

$x : Real
$y : Real
$z : Real

Returns

void

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

Parameter types

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

Returns

void

AUTHOR

Scott Lanning <slanning@cpan.org>

For licensing information, see README.txt .