78 void _calcTempSquareDist(
const Vector3& worldPos);
105 void setType(LightTypes type);
109 LightTypes getType(
void)
const;
146 void setSpecularColour(
Real red,
Real green,
Real blue);
182 void setAttenuation(
Real range,
Real constant,
Real linear,
Real quadratic);
186 Real getAttenuationRange(
void)
const;
190 Real getAttenuationConstant(
void)
const;
194 Real getAttenuationLinear(
void)
const;
198 Real getAttenuationQuadric(
void)
const;
214 void setPosition(
const Vector3& vec);
220 const Vector3& getPosition(
void)
const;
236 void setDirection(
const Vector3& vec);
242 const Vector3& getDirection(
void)
const;
254 void setSpotlightRange(
const Radian& innerAngle,
const Radian& outerAngle,
Real falloff = 1.0);
258 const Radian& getSpotlightInnerAngle(
void)
const;
262 const Radian& getSpotlightOuterAngle(
void)
const;
266 Real getSpotlightFalloff(
void)
const;
270 void setSpotlightInnerAngle(
const Radian& val);
274 void setSpotlightOuterAngle(
const Radian& val);
278 void setSpotlightFalloff(
Real val);
287 void setPowerScale(
Real power);
292 Real getPowerScale(
void)
const;
295 void _notifyAttached(
Node* parent,
bool isTagPoint =
false);
298 void _notifyMoved(
void);
307 const String& getMovableType(
void)
const;
312 const Vector3& getDerivedPosition(
bool cameraRelativeIfSet =
false)
const;
315 const Vector3& getDerivedDirection(
void)
const;
322 void setVisible(
bool visible);
336 Vector4 getAs4DVector(
bool cameraRelativeIfSet =
false)
const;
358 uint32 getTypeFlags(
void)
const;
374 void resetCustomShadowCameraSetup(
void);
381 bool debugRenderables =
false);
409 void setShadowFarDistance(
Real distance);
412 void resetShadowFarDistance(
void);
416 Real getShadowFarDistance(
void)
const;
417 Real getShadowFarDistanceSquared(
void)
const;
435 Real _deriveShadowNearClipDistance(
const Camera* maincam)
const;
456 Real _deriveShadowFarClipDistance(
const Camera* maincam)
const;
459 void _setCameraRelative(
Camera* cam);
506 virtual void _updateCustomGpuParameter(
uint16 paramIndex,
511 virtual void update(
void)
const;
514 const String& getAnimableDictionaryName(
void)
const;
516 void initialiseAnimableDictionary(
StringVector& vec)
const;
576 const String& getType(
void)
const;
A viewpoint from which the scene will be rendered.
bool mDerivedTransformDirty
Is the derived transform dirty?
float Real
Software floating point type.
Real getShadowFarClipDistance() const
Get the far clip plane distance to be used by the shadow camera, if this light casts texture shadows...
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
void setShadowNearClipDistance(Real nearClip)
Set the near clip plane distance to be used by the shadow camera, if this light casts texture shadows...
Real mShadowFarDistSquared
Class representing colour.
LightTypes
Defines the type of light.
A 3D box aligned with the x/y/z axes.
Camera * mCameraToBeRelativeTo
void setShadowFarClipDistance(Real farClip)
Set the far clip plane distance to be used by the shadow camera, if this light casts texture shadows...
Interface definition for a factory class which produces a certain kind of MovableObject, and can be registered with Root in order to allow all clients to produce new instances of this object, integrated with the standard Ogre processing.
bool mDerivedCamRelativeDirty
size_t _getIndexInFrame() const
Gets the index at which this light is in the current render.
static String FACTORY_TYPE_NAME
Abstract class defining a movable object in a scene.
vector< PlaneBoundedVolume >::type PlaneBoundedVolumeList
Representation of a dynamic light source in the scene.
Structure recording the use of an automatic parameter.
PlaneBoundedVolumeList mFrustumClipVolumes
Real getShadowNearClipDistance() const
Get the near clip plane distance to be used by the shadow camera, if this light casts texture shadows...
void _notifyIndexInFrame(size_t i)
static String msMovableType
Shared class-level name for Movable type.
ShadowCameraSetupPtr mCustomShadowCameraSetup
Pointer to a custom shadow camera setup.
Collects together the program parameters used for a GpuProgram.
Visitor object that can be used to iterate over a collection of Renderable instances abstractly...
vector< String >::type StringVector
Standard 3-dimensional vector.
PlaneBoundedVolume mNearClipVolume
Represents a convex volume bounded by planes.
Wrapper class which indicates a given angle value is in Radians.
Class to manage the scene object rendering queue.
Vector3 mDerivedCamRelativePosition
Vector3 mDerivedDirection
4-dimensional homogeneous vector.
Real tempSquareDist
Temp tag used for sorting.
map< uint16, Vector4 >::type CustomParameterMap
Real getBoundingRadius(void) const
Overridden from MovableObject.
Class representing a general-purpose node an articulated scene graph.
CustomParameterMap mCustomParameters
Stores the custom parameters for the light.
Factory object for creating Light instances.