class SG_EXPORT osg::LightSource

Leaf Node for defining a light in the scene

Inheritance:


Public Methods

[more] LightSource()
[more] LightSource(const LightSource& es, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
[more] META_Node(LightSource)
[more]inline void setLight(Light* light)
Set the attached light
[more]inline Light* getLight()
Get the attached light
[more]inline const Light* getLight() const
Get the const attached light

Protected Fields

[more]ref_ptr<Light> _light

Protected Methods

[more]virtual ~LightSource()
[more]virtual const bool computeBound() const


Documentation

Leaf Node for defining a light in the scene
o LightSource()

o LightSource(const LightSource& es, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

o META_Node(LightSource)

oinline void setLight(Light* light)
Set the attached light

oinline Light* getLight()
Get the attached light

oinline const Light* getLight() const
Get the const attached light

ovirtual ~LightSource()

ovirtual const bool computeBound() const

oref_ptr<Light> _light


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.