AlphaFramework API  1.0.3
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Properties | List of all members
AlphaFramework.World.Components.LightSource Class Reference

Represents a point light source. More...

Inheritance diagram for AlphaFramework.World.Components.LightSource:
AlphaFramework.World.Components.Render

Properties

Color Color [get, set]
 The color of this point light source. More...
 
XColor ColorValue [get, set]
 Used for XML serialization. More...
 
float Range [get, set]
 The maximum distance at which the light source has an effect. More...
 
Attenuation Attenuation [get, set]
 Factors describing the attenuation of light intensity over distance. More...
 
- Properties inherited from AlphaFramework.World.Components.Render
Vector3 Shift [get, set]
 How this component is to be shifted before rendering. More...
 
bool ShiftSpecified [get, set]
 Indicates whether Shift has been set to a non-default value. More...
 

Additional Inherited Members

- Public Member Functions inherited from AlphaFramework.World.Components.Render
override string ToString ()
 
Render Clone ()
 Creates a shallow copy of this Render More...
 

Detailed Description

Represents a point light source.

See Also
EntityTemplateBase{TSelf}.Render

Property Documentation

Attenuation AlphaFramework.World.Components.LightSource.Attenuation
getset

Factors describing the attenuation of light intensity over distance.

Color AlphaFramework.World.Components.LightSource.Color
getset

The color of this point light source.

Is not serialized/stored, ColorValue is used for that.

XColor AlphaFramework.World.Components.LightSource.ColorValue
getset

Used for XML serialization.

See Also
Color
float AlphaFramework.World.Components.LightSource.Range
getset

The maximum distance at which the light source has an effect.


The documentation for this class was generated from the following file: