ScenePointLight Class

A light at a point, that shines in every direction: fePointLight of SVG.

public sealed class ScenePointLight : SceneLightSource
Inheritance
SceneLightSource ScenePointLight

Constructors

NameDescription
ScenePointLight(double, double, double)Initializes a new instance of the ScenePointLight class.

ScenePointLight(double, double, double)

ScenePointLight.cs

Initializes a new instance of the ScenePointLight class.

public ScenePointLight(double x, double y, double z)

Parameters

x double
The x of the light.
y double
The y of the light.
z double
The height of the light above the plane.

Exceptions

ArgumentException
A coordinate is not a finite number.

Properties

NameDescription
XGets the x of the light.
YGets the y of the light.
ZGets the height of the light above the plane.

Gets the x of the light.

public double X { get; }

Property value

double

Gets the y of the light.

public double Y { get; }

Property value

double

Gets the height of the light above the plane.

public double Z { get; }

Property value

double