C3DLight

Top  Previous  Next

Class Description:

Class used to create light objects in a scene.

 

Class Methods:

Create

Creates a Direct3D light source..

Disable

Disables a light in the scene.

Enable

Enable a light in a scene.

SetAmbient

Sets a light's ambient color and intensity.

SetAttenuation

Sets a light's distance attenuation.

SetDiffuse

Sets the diffuse color emitted by the light.

SetDirection

Sets the look at point of a light.

SetFalloff

Decrease in illumination between a spotlight's inner and outer cones..

SetPhi

Sets the angle, in radians, defining the outer edge of the spotlight's outer cone.

SetRange

Sets the distance beyond which the light has no effect.

SetSpecular

Sets the Specular color emitted by the light.

SetTheta

Sets the angle, in radians, of a spotlight's inner cone.

 

Located in:

ebx3d.incc

 

Class Hierarchy

C3DObject

-------C3DLight