Click or drag to resize
DigitalRuneStar Structure
Represents a star of a StarfieldNode.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public struct Star : IEquatable<Star>

The Star type exposes the following members.

Constructors
  NameDescription
Public methodStar
Initializes a new instance of the Star struct.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object is equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Star)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Compares two Stars to determine whether they are the same.
Public operatorStatic memberInequality
Compares two MatrixFs to determine whether they are different.
Top
Fields
  NameDescription
Public fieldColor
The star color.
Public fieldPosition
The star position given as a direction vector. (Does not need to be normalized.)
Public fieldSize
The star size in pixels. To avoid flickering, the star size needs to be at least 2.8 pixels.
Top
See Also