| Star Constructor |
Initializes a new instance of the
Star struct.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public Star(
Vector3F position,
float size,
Vector3F color
)
Public Sub New (
position As Vector3F,
size As Single,
color As Vector3F
)
public:
Star(
Vector3F position,
float size,
Vector3F color
)
new :
position : Vector3F *
size : float32 *
color : Vector3F -> Star
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