C# Класс AoMEngineLibrary.Graphics.Model.Color3D

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Color3D ( float value ) : System

Constructs a Color3D where each component is set to the same value.

Color3D ( float r, float g, float b ) : System

Constructs a Color3D.

Equals ( Color3D other ) : bool

Tests equality between this color and another color

Equals ( object obj ) : bool

Tests equality between this color and another object.

GetHashCode ( ) : int

Returns a hash code for this instance.

IsBlack ( ) : bool

Determines if the color is black, or close to being black.

ToString ( ) : string

Returns a System.String that represents this instance.

operator ( ) : Color3D

Multiplies the two colors.

operator ( ) : bool

Tets inequality between two colors.

this ( int index ) : float

Gets or sets the component value at the specified zero-based index in the order of RGBA (index 0 access R, 1 access G, etc). If the index is not in range, a value of zero is returned.

Описание методов

Color3D() публичный Метод

Constructs a Color3D where each component is set to the same value.
public Color3D ( float value ) : System
value float Value to set R, G, B components
Результат System

Color3D() публичный Метод

Constructs a Color3D.
public Color3D ( float r, float g, float b ) : System
r float Red component
g float Green component
b float Blue component
Результат System

Equals() публичный Метод

Tests equality between this color and another color
public Equals ( Color3D other ) : bool
other Color3D Color to test against
Результат bool

Equals() публичный Метод

Tests equality between this color and another object.
public Equals ( object obj ) : bool
obj object Object to test against
Результат bool

GetHashCode() публичный Метод

Returns a hash code for this instance.
public GetHashCode ( ) : int
Результат int

IsBlack() публичный Метод

Determines if the color is black, or close to being black.
public IsBlack ( ) : bool
Результат bool

ToString() публичный Метод

Returns a System.String that represents this instance.
public ToString ( ) : string
Результат string

operator() публичный статический Метод

Multiplies the two colors.
public static operator ( ) : Color3D
Результат Color3D

operator() публичный статический Метод

Tets inequality between two colors.
public static operator ( ) : bool
Результат bool

this() публичный Метод

Gets or sets the component value at the specified zero-based index in the order of RGBA (index 0 access R, 1 access G, etc). If the index is not in range, a value of zero is returned.
public this ( int index ) : float
index int Zero-based index.
Результат float