C#Code
C#Code
Public Member Functions | Public Attributes | Static Public Attributes
Libraries.Shaders.AmbientProperty Class Reference
Inheritance diagram for Libraries.Shaders.AmbientProperty:
Libraries.Shaders.BaseShaderProperty Libraries.Shaders.BaseShaderProperty

List of all members.

Public Member Functions

 AmbientProperty ()
 AmbientProperty (float intensity, Vector4 color)
override void Update (int timePassed, Effect effect)
 AmbientProperty ()
 AmbientProperty (float intensity, Vector4 color)
override void Update (int timePassed, Effect effect)

Public Attributes

float m_ambientIntensity
 Ambient intensity.
Vector4 m_ambientColor
 Ambient color.

Static Public Attributes

static readonly
Libraries.StringType 
s_propertyName = new Libraries.StringType("ambient_prop")

Detailed Description

Handles ambient properties for a shader.


Constructor & Destructor Documentation

Libraries.Shaders.AmbientProperty.AmbientProperty ( )

Default constructor.

Libraries.Shaders.AmbientProperty.AmbientProperty ( float  intensity,
Vector4  color 
)

Constructor.

intensity - Intensity of the ambient light.
color - Color of the ambient light.
Libraries.Shaders.AmbientProperty.AmbientProperty ( )

Default constructor.

Libraries.Shaders.AmbientProperty.AmbientProperty ( float  intensity,
Vector4  color 
)

Constructor.

intensity - Intensity of the ambient light.
color - Color of the ambient light.

Member Function Documentation

override void Libraries.Shaders.AmbientProperty.Update ( int  timePassed,
Effect  effect 
) [virtual]

Update the effect.

timePassed - How long has passed since the previous update.
effect - Effect to update.

Reimplemented from Libraries.Shaders.BaseShaderProperty.

override void Libraries.Shaders.AmbientProperty.Update ( int  timePassed,
Effect  effect 
) [virtual]

Update the effect.

timePassed - How long has passed since the previous update.
effect - Effect to update.

Reimplemented from Libraries.Shaders.BaseShaderProperty.


Member Data Documentation

Ambient color.

Ambient intensity.

static readonly Libraries StringType Libraries::Shaders.AmbientProperty::s_propertyName = new Libraries.StringType("ambient_prop") [static]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Enumerations Properties