Class SpotLightCore
- Namespace
- HelixToolkit.SharpDX.Core
- Assembly
- HelixToolkit.SharpDX.dll
public class SpotLightCore : PointLightCore, IDisposable, IGUID, IThrowingShadow, ILight3D
- Inheritance
-
SpotLightCore
- Implements
- Inherited Members
Constructors
SpotLightCore()
Initializes a new instance of the SpotLightCore class.
public SpotLightCore()
Properties
Direction
Gets or sets the direction.
public Vector3 Direction { get; set; }
Property Value
- Vector3
The direction.
FallOff
Gets or sets the fall off.
public float FallOff { get; set; }
Property Value
- float
The fall off.
InnerAngle
Gets or sets the inner angle.
public float InnerAngle { get; set; }
Property Value
- float
The inner angle.
OuterAngle
Gets or sets the outer angle.
public float OuterAngle { get; set; }
Property Value
- float
The outer angle.
Methods
OnRender(Light3DSceneShared?, int)
Called when [render].
protected override void OnRender(Light3DSceneShared? lightScene, int index)
Parameters
lightSceneLight3DSceneSharedThe light scene.
indexintThe index.