Scott Lanning > Ogre > Ogre::ColourValue

Download:
Ogre-0.50.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

Ogre::ColourValue

SYNOPSIS ^

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

DESCRIPTION ^

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

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

CLASS METHODS ^

Ogre::ColourValue->new($red=1, $green=1, $blue=1, $alpha=1)

Parameter types

$red=1 : Real
$green=1 : Real
$blue=1 : Real
$alpha=1 : Real

Returns

ColourValue *

Ogre::ColourValue->DESTROY()

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

\&eq_xs

This is an operator overload method; don't call it yourself.

INSTANCE METHODS ^

$obj->saturate()

Returns

void

$obj->setHSB($hue, $saturation, $brightness)

Parameter types

$hue : Real
$saturation : Real
$brightness : Real

Returns

void

$obj->r()

Returns

Real

$obj->g()

Returns

Real

$obj->b()

Returns

Real

$obj->a()

Returns

Real

AUTHOR ^

Scott Lanning <slanning@cpan.org>

For licensing information, see README.txt .

syntax highlighting: