Class PointLightCore
- Namespace
- HelixToolkit.SharpDX.Core
- Assembly
- HelixToolkit.SharpDX.dll
public class PointLightCore : LightCoreBase, IDisposable, IGUID, IThrowingShadow, ILight3D
- Inheritance
-
PointLightCore
- Implements
- Derived
- Inherited Members
Constructors
PointLightCore()
Initializes a new instance of the PointLightCore class.
public PointLightCore()
Properties
Attenuation
Gets or sets the attenuation.
public Vector3 Attenuation { get; set; }
Property Value
- Vector3
The attenuation.
Position
Gets or sets the position.
public Vector3 Position { get; set; }
Property Value
- Vector3
The position.
Range
Gets or sets the range.
public float Range { get; set; }
Property Value
- float
The range.
Methods
OnRender(Light3DSceneShared?, int)
Called when [render].
protected override void OnRender(Light3DSceneShared? lightScene, int index)
Parameters
lightSceneLight3DSceneSharedThe light scene.
indexintThe index.