Click or drag to resize
DigitalRuneStar Constructor
Initializes a new instance of the Star struct.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public Star(
	Vector3F position,
	float size,
	Vector3F color
)

Parameters

position
Type: DigitalRune.Mathematics.AlgebraVector3F
The star position given as a direction vector. (Does not need to be normalized.)
size
Type: SystemSingle
The star size in pixels. To avoid flickering, the star size needs to be at least 2.8 pixels.
color
Type: DigitalRune.Mathematics.AlgebraVector3F
The star color.
See Also