dtActors::InfiniteLightActorProxy Class Reference

This proxy wraps the Infinite light Delta3D object. More...

#include <infinitelightactorproxy.h>

Inheritance diagram for dtActors::InfiniteLightActorProxy:

dtActors::BaseLightActorProxy dtDAL::TransformableActorProxy dtDAL::ActorProxy

List of all members.

Public Member Functions

 InfiniteLightActorProxy ()
 Constructor.
virtual bool IsPlaceable () const
 Infinite lights cannot have a position in the scene.
virtual void BuildPropertyMap ()
 Registers this actor's properties.
void SetDirection (const osg::Vec3 &dir)
 Sets the direction the infinite light is pointing.
osg::Vec3 GetDirection () const
 Gets the direction the infinite light is pointing.

Protected Member Functions

virtual void CreateActor ()
 Initializes the actor.
virtual ~InfiniteLightActorProxy ()
 Destructor.


Detailed Description

This proxy wraps the Infinite light Delta3D object.

Constructor & Destructor Documentation

dtActors::InfiniteLightActorProxy::InfiniteLightActorProxy (  )  [inline]

Constructor.

virtual dtActors::InfiniteLightActorProxy::~InfiniteLightActorProxy (  )  [inline, protected, virtual]

Destructor.


Member Function Documentation

virtual bool dtActors::InfiniteLightActorProxy::IsPlaceable (  )  const [inline, virtual]

Infinite lights cannot have a position in the scene.

The indicates that the actor is a "global" actor.

Returns:
False
See also:
ActorProxy::IsPlaceable()

Reimplemented from dtActors::BaseLightActorProxy.

void dtActors::InfiniteLightActorProxy::BuildPropertyMap (  )  [virtual]

Registers this actor's properties.

Reimplemented from dtActors::BaseLightActorProxy.

void dtActors::InfiniteLightActorProxy::SetDirection ( const osg::Vec3 &  dir  )  [inline]

Sets the direction the infinite light is pointing.

Parameters:
dir The direction to set.

osg::Vec3 dtActors::InfiniteLightActorProxy::GetDirection (  )  const [inline]

Gets the direction the infinite light is pointing.

Returns:
The current direction

void dtActors::InfiniteLightActorProxy::CreateActor (  )  [protected, virtual]

Initializes the actor.

Implements dtActors::BaseLightActorProxy.


http://www.delta3d.org
2.0.0 generated 14 Feb 2008