Click or drag to resize
Ab4d.SharpEngine logo

SpotLight Methods

The SpotLight type exposes the following members.

Methods
 NameDescription
Public methodGetNormalizedDirection Returns the Direction vector normalized to unit length.
Public methodGetSpotLightPhi Returns the Cos value of half of OuterConeAngle. This value is calculated by: phi = MathF.Cos(OuterConeAngle * MathF.PI / 360f).
Public methodGetSpotLightTheta Returns the Cos value of half of InnerConeAngle. This value is calculated by: theta = MathF.Cos(InnerConeAngle * MathF.PI / 360f).
Public methodToString Returns a string that represents the current object.
(Overrides PointLightToString)
Top
See Also