dtActors::PositionalLightActorProxy Class Reference

This proxy wraps the PositionalLight Delta3D object. More...

#include <positionallightactorproxy.h>

Inheritance diagram for dtActors::PositionalLightActorProxy:

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

List of all members.

Public Member Functions

 PositionalLightActorProxy ()
 Constructor.
virtual void BuildPropertyMap ()
 Adds the properties for positional lights.
virtual bool IsPlaceable () const
 Positional lights can be placed in a scene.
virtual dtDAL::ActorProxyIconGetBillBoardIcon ()
 Gets the billboard icon for lights.
virtual const
ActorProxy::RenderMode & 
GetRenderMode ()
 Gets the current render mode for positional lights.
void SetAttenuation (const osg::Vec3 &atten)
 Sets the attenuation for a light actor.
osg::Vec3 GetAttenuation ()
 Gets the attenuation for a light actor.

Protected Member Functions

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


Detailed Description

This proxy wraps the PositionalLight Delta3D object.

Constructor & Destructor Documentation

dtActors::PositionalLightActorProxy::PositionalLightActorProxy (  )  [inline]

Constructor.

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

Destructor.


Member Function Documentation

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

Adds the properties for positional lights.

Reimplemented from dtActors::BaseLightActorProxy.

Reimplemented in dtActors::SpotlightActorProxy.

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

Positional lights can be placed in a scene.

Reimplemented from dtActors::BaseLightActorProxy.

Reimplemented in dtActors::SpotlightActorProxy.

dtDAL::ActorProxyIcon * dtActors::PositionalLightActorProxy::GetBillBoardIcon (  )  [virtual]

Gets the billboard icon for lights.

Normally this wouldn't be here as it's inherited from BaseLightActorProxy. But since this inheritence chain uses virtual inheritence and MSVC spits a warning, this should quell it.

Returns:
The billboard icon common to all lights.

Reimplemented from dtActors::BaseLightActorProxy.

Reimplemented in dtActors::SpotlightActorProxy.

virtual const ActorProxy::RenderMode& dtActors::PositionalLightActorProxy::GetRenderMode (  )  [inline, virtual]

Gets the current render mode for positional lights.

Returns:
ActorProxy::RenderMode::DRAW_ACTOR_AND_BILLBOARD_ICON.

Reimplemented from dtActors::BaseLightActorProxy.

Reimplemented in dtActors::SpotlightActorProxy.

void dtActors::PositionalLightActorProxy::SetAttenuation ( const osg::Vec3 &  atten  )  [inline]

Sets the attenuation for a light actor.

Parameters:
atten The attenuation to set.

osg::Vec3 dtActors::PositionalLightActorProxy::GetAttenuation (  )  [inline]

Gets the attenuation for a light actor.

Returns:
The current attenuation.

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

Initializes the actor.

Implements dtActors::BaseLightActorProxy.

Reimplemented in dtActors::SpotlightActorProxy.


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