Click or drag to resize

SpotLight(Double, NamedColor, PointD3D, VectorD3D, Double, Double, Double, Boolean) Constructor

Initializes a new instance of the SpotLight class.

Namespace: Altaxo.Graph.Graph3D.Lighting
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public SpotLight(
	double lightAmplitude,
	NamedColor color,
	PointD3D position,
	VectorD3D directionToLight,
	double range,
	double outerConeAngle,
	double innerConeAngle,
	bool isAffixedToCamera
)

Parameters

lightAmplitude  Double
The light amplitude.
color  NamedColor
The color of light.
position  PointD3D
The position of the light.
directionToLight  VectorD3D
The direction from the scene to the light.
range  Double
The range of the light.
outerConeAngle  Double
The outer cone angle in radians.
innerConeAngle  Double
The inner cone angle in radians.
isAffixedToCamera  Boolean
Value indicating whether the light source is affixed to the camera coordinate system or the world coordinate system.
See Also