Click or drag to resize
AB4D logo

AmbientLight Class

AmbientLight is a lights that adds the specified color to all objects in the scene.
Inheritance Hierarchy
SystemObject
  Ab3d.DirectX.LightsLightBase
    Ab3d.DirectX.LightsAmbientLight

Namespace: Ab3d.DirectX.Lights
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
public class AmbientLight : LightBase, 
	IAmbientLight, ILight

The AmbientLight type exposes the following members.

Constructors
 NameDescription
Public methodAmbientLight Initializes a new instance of the AmbientLight class.
Public methodAmbientLight(Color3) Initializes a new instance of the AmbientLight class.
Public methodAmbientLight(Single) Initializes a new instance of the AmbientLight class.
Top
Properties
 NameDescription
Public propertyColor Gets or sets an ambient color.
Top
Methods
 NameDescription
Public methodSetIntensity Sets the intensity of the ambient light - intensity can be from 0 to 1 - 0 means Black color, 1 means White color.
Public methodToString Returns a string that represents the current object.
(Overrides ObjectToString)
Top
See Also