Click or drag to resize

SpotLight Class

Represents directional lighting. All light rays are parallel to each other.
Inheritance Hierarchy
SystemObject
  Altaxo.Graph.Graph3D.LightingSpotLight

Namespace: Altaxo.Graph.Graph3D.Lighting
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class SpotLight : IDiscreteLight, IImmutable

The SpotLight type exposes the following members.

Constructors
 NameDescription
Public methodSpotLight Initializes a new instance of the SpotLight class with default values.
Public methodSpotLight(Double, NamedColor, PointD3D, VectorD3D, Double, Double, Double, Boolean) Initializes a new instance of the SpotLight class.
Top
Properties
 NameDescription
Public propertyColor Gets the color of the light.
Public propertyDirectionToLight Gets the direction from the scene to the light.
Public propertyInnerConeAngle Gets the inner cone angle (in radians).
Public propertyIsAffixedToCamera Gets a value indicating whether this light source is affixed to the camera coordinate system or to the world coordinate system.
Public propertyLightAmplitude Gets the light amplitude. The default value is 1. This value is multiplied with the light Color to get the effective light's color.
Public propertyOuterConeAngle Gets the outer cone angle (in radians).
Public propertyPosition Gets the direction from the light to the scene
Public propertyRange Gets the range of this light source (in world coordinate units).
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWithColor Gets a new instance of SpotLight with the provided value for Color.
Public methodWithDirectionToLight Gets a new instance of SpotLight with the provided value for DirectionToLight.
Public methodWithInnerConeAngle Gets a new instance of SpotLight with the provided value for InnerConeAngle.
Public methodWithLightAmplitude Gets a new instance of SpotLight with the provided value for LightAmplitude.
Public methodWithOuterConeAngle Gets a new instance of SpotLight with the provided value for OuterConeAngle.
Public methodWithPosition Gets a new instance of SpotLight with the provided value for Position.
Public methodWithRange Gets a new instance of SpotLight with the provided value for Range.
Public methodWithValueAffixedToCamera Gets a new instance of SpotLight with the provided value for IsAffixedToCamera.
Top
See Also