Click or drag to resize
AB4D logo

SpotLight Class

SpotLight is a lights that emits lights that is positions in the specified positions and emits light in a specfied directon and with specified cone.
Inheritance Hierarchy
SystemObject
  Ab3d.DirectX.LightsLightBase
    Ab3d.DirectX.LightsPointLight
      Ab3d.DirectX.LightsSpotLight

Namespace: Ab3d.DirectX.Lights
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public class SpotLight : PointLight, ISpotLight, 
	IPointLight, ILight, IShadowCastingLight

The SpotLight type exposes the following members.

Constructors
 NameDescription
Public methodSpotLight Initializes a new instance of the SpotLight class.
Public methodSpotLight(Vector3, Single, Vector3) Initializes a new instance of the SpotLight class.
Top
Properties
 NameDescription
Public propertyDirection Gets or sets a Vector3 that specifies the direction of this light.
Public propertyFallOff Gets or sets a fallout value that specifies how the light intensity attenuates between inner and outer cone.
Public propertyInnerConeAngle Gets or sets an inner cone angle in degrees.
Public propertyIsCastingShadow Gets or sets a Booleans that specifies if this light casts a shadow.
Public propertyOuterConeAngle Gets or sets an outer cone angle in degrees.
Top
Methods
 NameDescription
Public methodToString Returns a string that represents the current object.
(Overrides PointLightToString)
Top
Fields
 NameDescription
Public fieldStatic memberDefaultFallout Default FallOff value for SpotLight
Top
See Also