Click or drag to resize
Ab4d.SharpEngine logo

ISpotLight Interface

ISpotLight interface defines a lights that emits lights that is positions in the specified positions and emits light in a specified direction and with specified cone.

Namespace: Ab4d.SharpEngine.Lights
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public interface ISpotLight : IPointLight, 
	ILight, IDirectionalLight

The ISpotLight type exposes the following members.

Properties
 NameDescription
Public propertyFallOff Gets a fallout value that specifies how the light intensity attenuates between inner and outer cone.
Public propertyInnerConeAngle Gets an inner cone angle in degrees.
Public propertyOuterConeAngle Gets an outer cone angle in degrees.
Top
Methods
 NameDescription
Public methodGetSpotLightPhi Returns the Cos value of the OuterConeAngle that is calculated by: phi = Math.Cos(OuterConeAngle * Math.PI / 180).
Public methodGetSpotLightTheta Returns the Cos value of the InnerConeAngle that is calculated by: theta = Math.Cos(InnerConeAngle * Math.PI / 180).
Top
See Also