Table of Contents

Struct ColorF

Namespace
Cobilas.GodotEngine.Utility
Assembly
com.cobilas.godot.utility.dll

Represents a normalized ARGB value between (0 and 1).

[Serializable]
public struct ColorF : IEquatable<ColorF>, IEquatable<Vector4D>
Implements
Inherited Members

Constructors

ColorF(Color32)

Creates a new instance of this object.

public ColorF(Color32 color)

Parameters

color Color32

ColorF(Vector4D)

Creates a new instance of this object.

public ColorF(Vector4D color)

Parameters

color Vector4D

ColorF(Color)

Creates a new instance of this object.

public ColorF(Color color)

Parameters

color Color

ColorF(float, float, float, float)

Creates a new instance of this object.

public ColorF(float r, float g, float b, float a)

Parameters

r float
g float
b float
a float

Properties

A

Represents the alpha value.

public float A { readonly get; set; }

Property Value

float

Allows you to set the alpha value.

AliceBlue

Gets a pre-defined AliceBlue color (R:0.94, G:0.97, B:1, A:1).

public static ColorF AliceBlue { get; }

Property Value

ColorF

A ColorF representing AliceBlue color.

AntiqueWhite

Gets a pre-defined AntiqueWhite color (R:0.98, G:0.92, B:0.84, A:1).

public static ColorF AntiqueWhite { get; }

Property Value

ColorF

A ColorF representing AntiqueWhite color.

Aqua

Gets a pre-defined Aqua color (R:0, G:1, B:1, A:1).

public static ColorF Aqua { get; }

Property Value

ColorF

A ColorF representing Aqua color.

Aquamarine

Gets a pre-defined Aquamarine color (R:0.5, G:1, B:0.83, A:1).

public static ColorF Aquamarine { get; }

Property Value

ColorF

A ColorF representing Aquamarine color.

Azure

Gets a pre-defined Azure color (R:0.94, G:1, B:1, A:1).

public static ColorF Azure { get; }

Property Value

ColorF

A ColorF representing Azure color.

B

Represents the value blue.

public float B { readonly get; set; }

Property Value

float

Allows you to set the value blue.

Beige

Gets a pre-defined Beige color (R:0.96, G:0.96, B:0.86, A:1).

public static ColorF Beige { get; }

Property Value

ColorF

A ColorF representing Beige color.

Bisque

Gets a pre-defined Bisque color (R:1, G:0.89, B:0.77, A:1).

public static ColorF Bisque { get; }

Property Value

ColorF

A ColorF representing Bisque color.

Black

Gets a pre-defined black color (R:0, G:0, B:0, A:1).

public static ColorF Black { get; }

Property Value

ColorF

A ColorF representing black color.

BlanchedAlmond

Gets a pre-defined BlanchedAlmond color (R:1, G:0.92, B:0.8, A:1).

public static ColorF BlanchedAlmond { get; }

Property Value

ColorF

A ColorF representing BlanchedAlmond color.

Blue

Gets a pre-defined blue color (R:0, G:0, B:1, A:1).

public static ColorF Blue { get; }

Property Value

ColorF

A ColorF representing blue color.

BlueViolet

Gets a pre-defined BlueViolet color (R:0.54, G:0.17, B:0.89, A:1).

public static ColorF BlueViolet { get; }

Property Value

ColorF

A ColorF representing BlueViolet color.

Brown

Gets a pre-defined Brown color (R:0.65, G:0.16, B:0.16, A:1).

public static ColorF Brown { get; }

Property Value

ColorF

A ColorF representing Brown color.

BurlyWood

Gets a pre-defined BurlyWood color (R:0.87, G:0.72, B:0.53, A:1).

public static ColorF BurlyWood { get; }

Property Value

ColorF

A ColorF representing BurlyWood color.

CadetBlue

Gets a pre-defined CadetBlue color (R:0.37, G:0.62, B:0.63, A:1).

public static ColorF CadetBlue { get; }

Property Value

ColorF

A ColorF representing CadetBlue color.

Chartreuse

Gets a pre-defined Chartreuse color (R:0.5, G:1, B:0, A:1).

public static ColorF Chartreuse { get; }

Property Value

ColorF

A ColorF representing Chartreuse color.

Chocolate

Gets a pre-defined Chocolate color (R:0.82, G:0.41, B:0.12, A:1).

public static ColorF Chocolate { get; }

Property Value

ColorF

A ColorF representing Chocolate color.

Clear

Gets a pre-defined transparent color (R:0, G:0, B:0, A:0).

public static ColorF Clear { get; }

Property Value

ColorF

A ColorF representing fully transparent color.

Coral

Gets a pre-defined Coral color (R:1, G:0.5, B:0.31, A:1).

public static ColorF Coral { get; }

Property Value

ColorF

A ColorF representing Coral color.

Cornflower

Gets a pre-defined Cornflower color (R:0.39, G:0.58, B:0.93, A:1).

public static ColorF Cornflower { get; }

Property Value

ColorF

A ColorF representing Cornflower color.

Cornsilk

Gets a pre-defined Cornsilk color (R:1, G:0.97, B:0.86, A:1).

public static ColorF Cornsilk { get; }

Property Value

ColorF

A ColorF representing Cornsilk color.

Crimson

Gets a pre-defined Crimson color (R:0.86, G:0.08, B:0.24, A:1).

public static ColorF Crimson { get; }

Property Value

ColorF

A ColorF representing Crimson color.

Cyan

Gets a pre-defined cyan color (R:0, G:1, B:1, A:1).

public static ColorF Cyan { get; }

Property Value

ColorF

A ColorF representing cyan color.

DarkBlue

Gets a pre-defined DarkBlue color (R:0, G:0, B:0.55, A:1).

public static ColorF DarkBlue { get; }

Property Value

ColorF

A ColorF representing DarkBlue color.

DarkCyan

Gets a pre-defined DarkCyan color (R:0, G:0.55, B:0.55, A:1).

public static ColorF DarkCyan { get; }

Property Value

ColorF

A ColorF representing DarkCyan color.

DarkGoldenRod

Gets a pre-defined DarkGoldenRod color (R:0.72, G:0.53, B:0.04, A:1).

public static ColorF DarkGoldenRod { get; }

Property Value

ColorF

A ColorF representing DarkGoldenRod color.

DarkGray

Gets a pre-defined DarkGray color (R:0.66, G:0.66, B:0.66, A:1).

public static ColorF DarkGray { get; }

Property Value

ColorF

A ColorF representing DarkGray color.

DarkGreen

Gets a pre-defined DarkGreen color (R:0, G:0.39, B:0, A:1).

public static ColorF DarkGreen { get; }

Property Value

ColorF

A ColorF representing DarkGreen color.

DarkKhaki

Gets a pre-defined DarkKhaki color (R:0.74, G:0.72, B:0.42, A:1).

public static ColorF DarkKhaki { get; }

Property Value

ColorF

A ColorF representing DarkKhaki color.

DarkMagenta

Gets a pre-defined DarkMagenta color (R:0.55, G:0, B:0.55, A:1).

public static ColorF DarkMagenta { get; }

Property Value

ColorF

A ColorF representing DarkMagenta color.

DarkOliveGreen

Gets a pre-defined DarkOliveGreen color (R:0.33, G:0.42, B:0.18, A:1).

public static ColorF DarkOliveGreen { get; }

Property Value

ColorF

A ColorF representing DarkOliveGreen color.

DarkOrange

Gets a pre-defined DarkOrange color (R:1, G:0.55, B:0, A:1).

public static ColorF DarkOrange { get; }

Property Value

ColorF

A ColorF representing DarkOrange color.

DarkOrchid

Gets a pre-defined DarkOrchid color (R:0.6, G:0.2, B:0.8, A:1).

public static ColorF DarkOrchid { get; }

Property Value

ColorF

A ColorF representing DarkOrchid color.

DarkRed

Gets a pre-defined DarkRed color (R:0.55, G:0, B:0, A:1).

public static ColorF DarkRed { get; }

Property Value

ColorF

A ColorF representing DarkRed color.

DarkSalmon

Gets a pre-defined DarkSalmon color (R:0.91, G:0.59, B:0.48, A:1).

public static ColorF DarkSalmon { get; }

Property Value

ColorF

A ColorF representing DarkSalmon color.

DarkSeaGreen

Gets a pre-defined DarkSeaGreen color (R:0.56, G:0.74, B:0.56, A:1).

public static ColorF DarkSeaGreen { get; }

Property Value

ColorF

A ColorF representing DarkSeaGreen color.

DarkSlateBlue

Gets a pre-defined DarkSlateBlue color (R:0.28, G:0.24, B:0.55, A:1).

public static ColorF DarkSlateBlue { get; }

Property Value

ColorF

A ColorF representing DarkSlateBlue color.

DarkSlateGray

Gets a pre-defined DarkSlateGray color (R:0.18, G:0.31, B:0.31, A:1).

public static ColorF DarkSlateGray { get; }

Property Value

ColorF

A ColorF representing DarkSlateGray color.

DarkTurquoise

Gets a pre-defined DarkTurquoise color (R:0, G:0.81, B:0.82, A:1).

public static ColorF DarkTurquoise { get; }

Property Value

ColorF

A ColorF representing DarkTurquoise color.

DarkViolet

Gets a pre-defined DarkViolet color (R:0.58, G:0, B:0.83, A:1).

public static ColorF DarkViolet { get; }

Property Value

ColorF

A ColorF representing DarkViolet color.

DeepPink

Gets a pre-defined DeepPink color (R:1, G:0.08, B:0.58, A:1).

public static ColorF DeepPink { get; }

Property Value

ColorF

A ColorF representing DeepPink color.

DeepSkyBlue

Gets a pre-defined DeepSkyBlue color (R:0, G:0.75, B:1, A:1).

public static ColorF DeepSkyBlue { get; }

Property Value

ColorF

A ColorF representing DeepSkyBlue color.

DimGray

Gets a pre-defined DimGray color (R:0.41, G:0.41, B:0.41, A:1).

public static ColorF DimGray { get; }

Property Value

ColorF

A ColorF representing DimGray color.

DodgerBlue

Gets a pre-defined DodgerBlue color (R:0.12, G:0.56, B:1, A:1).

public static ColorF DodgerBlue { get; }

Property Value

ColorF

A ColorF representing DodgerBlue color.

FireBrick

Gets a pre-defined FireBrick color (R:0.7, G:0.13, B:0.13, A:1).

public static ColorF FireBrick { get; }

Property Value

ColorF

A ColorF representing FireBrick color.

FloralWhite

Gets a pre-defined FloralWhite color (R:1, G:0.98, B:0.94, A:1).

public static ColorF FloralWhite { get; }

Property Value

ColorF

A ColorF representing FloralWhite color.

ForestGreen

Gets a pre-defined ForestGreen color (R:0.13, G:0.55, B:0.13, A:1).

public static ColorF ForestGreen { get; }

Property Value

ColorF

A ColorF representing ForestGreen color.

Fuchsia

Gets a pre-defined Fuchsia color (R:1, G:0, B:1, A:1).

public static ColorF Fuchsia { get; }

Property Value

ColorF

A ColorF representing Fuchsia color.

G

Represents the value green.

public float G { readonly get; set; }

Property Value

float

Allows you to set the value green.

Gainsboro

Gets a pre-defined Gainsboro color (R:0.86, G:0.86, B:0.86, A:1).

public static ColorF Gainsboro { get; }

Property Value

ColorF

A ColorF representing Gainsboro color.

GhostWhite

Gets a pre-defined GhostWhite color (R:0.97, G:0.97, B:1, A:1).

public static ColorF GhostWhite { get; }

Property Value

ColorF

A ColorF representing GhostWhite color.

Gold

Gets a pre-defined Gold color (R:1, G:0.84, B:0, A:1).

public static ColorF Gold { get; }

Property Value

ColorF

A ColorF representing Gold color.

GoldenRod

Gets a pre-defined GoldenRod color (R:0.85, G:0.65, B:0.13, A:1).

public static ColorF GoldenRod { get; }

Property Value

ColorF

A ColorF representing GoldenRod color.

Gray

Gets a pre-defined gray color (R:0.5, G:0.5, B:0.5, A:1).

public static ColorF Gray { get; }

Property Value

ColorF

A ColorF representing gray color.

Green

Gets a pre-defined green color (R:0, G:1, B:0, A:1).

public static ColorF Green { get; }

Property Value

ColorF

A ColorF representing green color.

GreenYellow

Gets a pre-defined GreenYellow color (R:0.68, G:1, B:0.18, A:1).

public static ColorF GreenYellow { get; }

Property Value

ColorF

A ColorF representing GreenYellow color.

HoneyDew

Gets a pre-defined HoneyDew color (R:0.94, G:1, B:0.94, A:1).

public static ColorF HoneyDew { get; }

Property Value

ColorF

A ColorF representing HoneyDew color.

HotPink

Gets a pre-defined HotPink color (R:1, G:0.41, B:0.71, A:1).

public static ColorF HotPink { get; }

Property Value

ColorF

A ColorF representing HotPink color.

IndianRed

Gets a pre-defined IndianRed color (R:0.8, G:0.36, B:0.36, A:1).

public static ColorF IndianRed { get; }

Property Value

ColorF

A ColorF representing IndianRed color.

Indigo

Gets a pre-defined Indigo color (R:0.29, G:0, B:0.51, A:1).

public static ColorF Indigo { get; }

Property Value

ColorF

A ColorF representing Indigo color.

Ivory

Gets a pre-defined Ivory color (R:1, G:1, B:0.94, A:1).

public static ColorF Ivory { get; }

Property Value

ColorF

A ColorF representing Ivory color.

Khaki

Gets a pre-defined Khaki color (R:0.94, G:0.9, B:0.55, A:1).

public static ColorF Khaki { get; }

Property Value

ColorF

A ColorF representing Khaki color.

Lavender

Gets a pre-defined Lavender color (R:0.9, G:0.9, B:0.98, A:1).

public static ColorF Lavender { get; }

Property Value

ColorF

A ColorF representing Lavender color.

LavenderBlush

Gets a pre-defined LavenderBlush color (R:1, G:0.94, B:0.96, A:1).

public static ColorF LavenderBlush { get; }

Property Value

ColorF

A ColorF representing LavenderBlush color.

LawnGreen

Gets a pre-defined LawnGreen color (R:0.49, G:0.99, B:0, A:1).

public static ColorF LawnGreen { get; }

Property Value

ColorF

A ColorF representing LawnGreen color.

LemonChiffon

Gets a pre-defined LemonChiffon color (R:1, G:0.98, B:0.8, A:1).

public static ColorF LemonChiffon { get; }

Property Value

ColorF

A ColorF representing LemonChiffon color.

LightBlue

Gets a pre-defined LightBlue color (R:0.68, G:0.85, B:0.9, A:1).

public static ColorF LightBlue { get; }

Property Value

ColorF

A ColorF representing LightBlue color.

LightCoral

Gets a pre-defined LightCoral color (R:0.94, G:0.5, B:0.5, A:1).

public static ColorF LightCoral { get; }

Property Value

ColorF

A ColorF representing LightCoral color.

LightCyan

Gets a pre-defined LightCyan color (R:0.88, G:1, B:1, A:1).

public static ColorF LightCyan { get; }

Property Value

ColorF

A ColorF representing LightCyan color.

LightGoldenRod

Gets a pre-defined LightGoldenRod color (R:0.98, G:0.98, B:0.82, A:1).

public static ColorF LightGoldenRod { get; }

Property Value

ColorF

A ColorF representing LightGoldenRod color.

LightGray

Gets a pre-defined LightGray color (R:0.83, G:0.83, B:0.83, A:1).

public static ColorF LightGray { get; }

Property Value

ColorF

A ColorF representing LightGray color.

LightGreen

Gets a pre-defined LightGreen color (R:0.56, G:0.93, B:0.56, A:1).

public static ColorF LightGreen { get; }

Property Value

ColorF

A ColorF representing LightGreen color.

LightPink

Gets a pre-defined LightPink color (R:1, G:0.71, B:0.76, A:1).

public static ColorF LightPink { get; }

Property Value

ColorF

A ColorF representing LightPink color.

LightSalmon

Gets a pre-defined LightSalmon color (R:1, G:0.63, B:0.48, A:1).

public static ColorF LightSalmon { get; }

Property Value

ColorF

A ColorF representing LightSalmon color.

LightSeaGreen

Gets a pre-defined LightSeaGreen color (R:0.13, G:0.7, B:0.67, A:1).

public static ColorF LightSeaGreen { get; }

Property Value

ColorF

A ColorF representing LightSeaGreen color.

LightSkyBlue

Gets a pre-defined LightSkyBlue color (R:0.53, G:0.81, B:0.98, A:1).

public static ColorF LightSkyBlue { get; }

Property Value

ColorF

A ColorF representing LightSkyBlue color.

LightSlateGray

Gets a pre-defined LightSlateGray color (R:0.47, G:0.53, B:0.6, A:1).

public static ColorF LightSlateGray { get; }

Property Value

ColorF

A ColorF representing LightSlateGray color.

LightSteelBlue

Gets a pre-defined LightSteelBlue color (R:0.69, G:0.77, B:0.87, A:1).

public static ColorF LightSteelBlue { get; }

Property Value

ColorF

A ColorF representing LightSteelBlue color.

LightYellow

Gets a pre-defined LightYellow color (R:1, G:1, B:0.88, A:1).

public static ColorF LightYellow { get; }

Property Value

ColorF

A ColorF representing LightYellow color.

Lime

Gets a pre-defined Lime color (R:0, G:1, B:0, A:1).

public static ColorF Lime { get; }

Property Value

ColorF

A ColorF representing Lime color.

LimeGreen

Gets a pre-defined LimeGreen color (R:0.2, G:0.8, B:0.2, A:1).

public static ColorF LimeGreen { get; }

Property Value

ColorF

A ColorF representing LimeGreen color.

Linen

Gets a pre-defined Linen color (R:0.98, G:0.94, B:0.9, A:1).

public static ColorF Linen { get; }

Property Value

ColorF

A ColorF representing Linen color.

Magenta

Gets a pre-defined magenta color (R:1, G:0, B:1, A:1).

public static ColorF Magenta { get; }

Property Value

ColorF

A ColorF representing magenta color.

Maroon

Gets a pre-defined Maroon color (R:0.69, G:0.19, B:0.38, A:1).

public static ColorF Maroon { get; }

Property Value

ColorF

A ColorF representing Maroon color.

MediumAquaMarine

Gets a pre-defined MediumAquaMarine color (R:0.4, G:0.8, B:0.67, A:1).

public static ColorF MediumAquaMarine { get; }

Property Value

ColorF

A ColorF representing MediumAquaMarine color.

MediumBlue

Gets a pre-defined MediumBlue color (R:0, G:0, B:0.8, A:1).

public static ColorF MediumBlue { get; }

Property Value

ColorF

A ColorF representing MediumBlue color.

MediumOrchid

Gets a pre-defined MediumOrchid color (R:0.73, G:0.33, B:0.83, A:1).

public static ColorF MediumOrchid { get; }

Property Value

ColorF

A ColorF representing MediumOrchid color.

MediumPurple

Gets a pre-defined MediumPurple color (R:0.58, G:0.44, B:0.86, A:1).

public static ColorF MediumPurple { get; }

Property Value

ColorF

A ColorF representing MediumPurple color.

MediumSeaGreen

Gets a pre-defined MediumSeaGreen color (R:0.24, G:0.7, B:0.44, A:1).

public static ColorF MediumSeaGreen { get; }

Property Value

ColorF

A ColorF representing MediumSeaGreen color.

MediumSlateBlue

Gets a pre-defined MediumSlateBlue color (R:0.48, G:0.41, B:0.93, A:1).

public static ColorF MediumSlateBlue { get; }

Property Value

ColorF

A ColorF representing MediumSlateBlue color.

MediumSpringGreen

Gets a pre-defined MediumSpringGreen color (R:0, G:0.98, B:0.6, A:1).

public static ColorF MediumSpringGreen { get; }

Property Value

ColorF

A ColorF representing MediumSpringGreen color.

MediumTurquoise

Gets a pre-defined MediumTurquoise color (R:0.28, G:0.82, B:0.8, A:1).

public static ColorF MediumTurquoise { get; }

Property Value

ColorF

A ColorF representing MediumTurquoise color.

MediumVioletRed

Gets a pre-defined MediumVioletRed color (R:0.78, G:0.08, B:0.52, A:1).

public static ColorF MediumVioletRed { get; }

Property Value

ColorF

A ColorF representing MediumVioletRed color.

MidnightBlue

Gets a pre-defined MidnightBlue color (R:0.1, G:0.1, B:0.44, A:1).

public static ColorF MidnightBlue { get; }

Property Value

ColorF

A ColorF representing MidnightBlue color.

MintCream

Gets a pre-defined MintCream color (R:0.96, G:1, B:0.98, A:1).

public static ColorF MintCream { get; }

Property Value

ColorF

A ColorF representing MintCream color.

MistyRose

Gets a pre-defined MistyRose color (R:1, G:0.89, B:0.88, A:1).

public static ColorF MistyRose { get; }

Property Value

ColorF

A ColorF representing MistyRose color.

Moccasin

Gets a pre-defined Moccasin color (R:1, G:0.89, B:0.71, A:1).

public static ColorF Moccasin { get; }

Property Value

ColorF

A ColorF representing Moccasin color.

NavajoWhite

Gets a pre-defined NavajoWhite color (R:1, G:0.87, B:0.68, A:1).

public static ColorF NavajoWhite { get; }

Property Value

ColorF

A ColorF representing NavajoWhite color.

NavyBlue

Gets a pre-defined NavyBlue color (R:0, G:0, B:0.5, A:1).

public static ColorF NavyBlue { get; }

Property Value

ColorF

A ColorF representing NavyBlue color.

OldLace

Gets a pre-defined OldLace color (R:0.99, G:0.96, B:0.9, A:1).

public static ColorF OldLace { get; }

Property Value

ColorF

A ColorF representing OldLace color.

Olive

Gets a pre-defined Olive color (R:0.5, G:0.5, B:0, A:1).

public static ColorF Olive { get; }

Property Value

ColorF

A ColorF representing Olive color.

OliveDrab

Gets a pre-defined OliveDrab color (R:0.42, G:0.56, B:0.14, A:1).

public static ColorF OliveDrab { get; }

Property Value

ColorF

A ColorF representing OliveDrab color.

Orange

Gets a pre-defined Orange color (R:1, G:0.65, B:0, A:1).

public static ColorF Orange { get; }

Property Value

ColorF

A ColorF representing Orange color.

OrangeRed

Gets a pre-defined OrangeRed color (R:1, G:0.27, B:0, A:1).

public static ColorF OrangeRed { get; }

Property Value

ColorF

A ColorF representing OrangeRed color.

Orchid

Gets a pre-defined Orchid color (R:0.85, G:0.44, B:0.84, A:1).

public static ColorF Orchid { get; }

Property Value

ColorF

A ColorF representing Orchid color.

PaleGoldenRod

Gets a pre-defined PaleGoldenRod color (R:0.93, G:0.91, B:0.67, A:1).

public static ColorF PaleGoldenRod { get; }

Property Value

ColorF

A ColorF representing PaleGoldenRod color.

PaleGreen

Gets a pre-defined PaleGreen color (R:0.6, G:0.98, B:0.6, A:1).

public static ColorF PaleGreen { get; }

Property Value

ColorF

A ColorF representing PaleGreen color.

PaleTurquoise

Gets a pre-defined PaleTurquoise color (R:0.69, G:0.93, B:0.93, A:1).

public static ColorF PaleTurquoise { get; }

Property Value

ColorF

A ColorF representing PaleTurquoise color.

PaleVioletRed

Gets a pre-defined PaleVioletRed color (R:0.86, G:0.44, B:0.58, A:1).

public static ColorF PaleVioletRed { get; }

Property Value

ColorF

A ColorF representing PaleVioletRed color.

PapayaWhip

Gets a pre-defined PapayaWhip color (R:1, G:0.94, B:0.84, A:1).

public static ColorF PapayaWhip { get; }

Property Value

ColorF

A ColorF representing PapayaWhip color.

PeachPuff

Gets a pre-defined PeachPuff color (R:1, G:0.85, B:0.73, A:1).

public static ColorF PeachPuff { get; }

Property Value

ColorF

A ColorF representing PeachPuff color.

Peru

Gets a pre-defined Peru color (R:0.8, G:0.52, B:0.25, A:1).

public static ColorF Peru { get; }

Property Value

ColorF

A ColorF representing Peru color.

Pink

Gets a pre-defined Pink color (R:1, G:0.75, B:0.8, A:1).

public static ColorF Pink { get; }

Property Value

ColorF

A ColorF representing Pink color.

Plum

Gets a pre-defined Plum color (R:0.87, G:0.63, B:0.87, A:1).

public static ColorF Plum { get; }

Property Value

ColorF

A ColorF representing Plum color.

PowderBlue

Gets a pre-defined PowderBlue color (R:0.69, G:0.88, B:0.9, A:1).

public static ColorF PowderBlue { get; }

Property Value

ColorF

A ColorF representing PowderBlue color.

Purple

Gets a pre-defined Purple color (R:0.63, G:0.13, B:0.94, A:1).

public static ColorF Purple { get; }

Property Value

ColorF

A ColorF representing Purple color.

R

Represents the value red.

public float R { readonly get; set; }

Property Value

float

Allows you to set the value red.

RebeccaPurple

Gets a pre-defined RebeccaPurple color (R:0.4, G:0.2, B:0.6, A:1).

public static ColorF RebeccaPurple { get; }

Property Value

ColorF

A ColorF representing RebeccaPurple color.

Red

Gets a pre-defined red color (R:1, G:0, B:0, A:1).

public static ColorF Red { get; }

Property Value

ColorF

A ColorF representing red color.

RosyBrown

Gets a pre-defined RosyBrown color (R:0.74, G:0.56, B:0.56, A:1).

public static ColorF RosyBrown { get; }

Property Value

ColorF

A ColorF representing RosyBrown color.

RoyalBlue

Gets a pre-defined RoyalBlue color (R:0.25, G:0.41, B:0.88, A:1).

public static ColorF RoyalBlue { get; }

Property Value

ColorF

A ColorF representing RoyalBlue color.

SaddleBrown

Gets a pre-defined SaddleBrown color (R:0.55, G:0.27, B:0.07, A:1).

public static ColorF SaddleBrown { get; }

Property Value

ColorF

A ColorF representing SaddleBrown color.

Salmon

Gets a pre-defined Salmon color (R:0.98, G:0.5, B:0.45, A:1).

public static ColorF Salmon { get; }

Property Value

ColorF

A ColorF representing Salmon color.

SandyBrown

Gets a pre-defined SandyBrown color (R:0.96, G:0.64, B:0.38, A:1).

public static ColorF SandyBrown { get; }

Property Value

ColorF

A ColorF representing SandyBrown color.

SeaGreen

Gets a pre-defined SeaGreen color (R:0.18, G:0.55, B:0.34, A:1).

public static ColorF SeaGreen { get; }

Property Value

ColorF

A ColorF representing SeaGreen color.

SeaShell

Gets a pre-defined SeaShell color (R:1, G:0.96, B:0.93, A:1).

public static ColorF SeaShell { get; }

Property Value

ColorF

A ColorF representing SeaShell color.

Sienna

Gets a pre-defined Sienna color (R:0.63, G:0.32, B:0.18, A:1).

public static ColorF Sienna { get; }

Property Value

ColorF

A ColorF representing Sienna color.

Silver

Gets a pre-defined Silver color (R:0.75, G:0.75, B:0.75, A:1).

public static ColorF Silver { get; }

Property Value

ColorF

A ColorF representing Silver color.

SkyBlue

Gets a pre-defined SkyBlue color (R:0.53, G:0.81, B:0.92, A:1).

public static ColorF SkyBlue { get; }

Property Value

ColorF

A ColorF representing SkyBlue color.

SlateBlue

Gets a pre-defined SlateBlue color (R:0.42, G:0.35, B:0.8, A:1).

public static ColorF SlateBlue { get; }

Property Value

ColorF

A ColorF representing SlateBlue color.

SlateGray

Gets a pre-defined SlateGray color (R:0.44, G:0.5, B:0.56, A:1).

public static ColorF SlateGray { get; }

Property Value

ColorF

A ColorF representing SlateGray color.

Snow

Gets a pre-defined Snow color (R:1, G:0.98, B:0.98, A:1).

public static ColorF Snow { get; }

Property Value

ColorF

A ColorF representing Snow color.

SpringGreen

Gets a pre-defined SpringGreen color (R:0, G:1, B:0.5, A:1).

public static ColorF SpringGreen { get; }

Property Value

ColorF

A ColorF representing SpringGreen color.

SteelBlue

Gets a pre-defined SteelBlue color (R:0.27, G:0.51, B:0.71, A:1).

public static ColorF SteelBlue { get; }

Property Value

ColorF

A ColorF representing SteelBlue color.

Tan

Gets a pre-defined Tan color (R:0.82, G:0.71, B:0.55, A:1).

public static ColorF Tan { get; }

Property Value

ColorF

A ColorF representing Tan color.

Teal

Gets a pre-defined Teal color (R:0, G:0.5, B:0.5, A:1).

public static ColorF Teal { get; }

Property Value

ColorF

A ColorF representing Teal color.

Thistle

Gets a pre-defined Thistle color (R:0.85, G:0.75, B:0.85, A:1).

public static ColorF Thistle { get; }

Property Value

ColorF

A ColorF representing Thistle color.

Tomato

Gets a pre-defined Tomato color (R:1, G:0.39, B:0.28, A:1).

public static ColorF Tomato { get; }

Property Value

ColorF

A ColorF representing Tomato color.

Turquoise

Gets a pre-defined Turquoise color (R:0.25, G:0.88, B:0.82, A:1).

public static ColorF Turquoise { get; }

Property Value

ColorF

A ColorF representing Turquoise color.

Violet

Gets a pre-defined Violet color (R:0.93, G:0.51, B:0.93, A:1).

public static ColorF Violet { get; }

Property Value

ColorF

A ColorF representing Violet color.

WebGray

Gets a pre-defined WebGray color (R:0.5, G:0.5, B:0.5, A:1).

public static ColorF WebGray { get; }

Property Value

ColorF

A ColorF representing WebGray color.

WebGreen

Gets a pre-defined WebGreen color (R:0, G:0.5, B:0, A:1).

public static ColorF WebGreen { get; }

Property Value

ColorF

A ColorF representing WebGreen color.

WebMaroon

Gets a pre-defined WebMaroon color (R:0.5, G:0, B:0, A:1).

public static ColorF WebMaroon { get; }

Property Value

ColorF

A ColorF representing WebMaroon color.

WebPurple

Gets a pre-defined WebPurple color (R:0.5, G:0, B:0.5, A:1).

public static ColorF WebPurple { get; }

Property Value

ColorF

A ColorF representing WebPurple color.

Wheat

Gets a pre-defined Wheat color (R:0.96, G:0.87, B:0.7, A:1).

public static ColorF Wheat { get; }

Property Value

ColorF

A ColorF representing Wheat color.

White

Gets a pre-defined white color (R:1, G:1, B:1, A:1).

public static ColorF White { get; }

Property Value

ColorF

A ColorF representing white color.

WhiteSmoke

Gets a pre-defined WhiteSmoke color (R:0.96, G:0.96, B:0.96, A:1).

public static ColorF WhiteSmoke { get; }

Property Value

ColorF

A ColorF representing WhiteSmoke color.

Yellow

Gets a pre-defined yellow color (R:1, G:0.92, B:0.016, A:1).

public static ColorF Yellow { get; }

Property Value

ColorF

A ColorF representing yellow color.

YellowGreen

Gets a pre-defined YellowGreen color (R:0.6, G:0.8, B:0.2, A:1).

public static ColorF YellowGreen { get; }

Property Value

ColorF

A ColorF representing YellowGreen color.

Methods

ColorFToHSV(ColorF)

Converts a ColorF value to HSV.

public static Vector4D ColorFToHSV(ColorF c)

Parameters

c ColorF

The value to convert.

Returns

Vector4D

Returns a Vector4D value with HSV values.(x:h / y:s / z:v)

Equals(ColorF)

Indicates whether the current object is equal to another object of the same type.

public readonly bool Equals(ColorF other)

Parameters

other ColorF

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(Vector4D)

Indicates whether the current object is equal to another object of the same type.

public readonly bool Equals(Vector4D other)

Parameters

other Vector4D

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

HSVToColorF(float, float, float, float)

Constructs a color from an HSV profile, with values on the range of 0 to 1. This is equivalent to using each of the h/s/v properties, but much more efficient.

public static ColorF HSVToColorF(float h, float s, float v, float a = 1)

Parameters

h float

Hue value.

s float

Saturation value.

v float

Value.

a float

Alpha value.

Returns

ColorF

The constructed color.

ToString()

Returns the fully qualified type name of this instance.

public override readonly string ToString()

Returns

string

The fully qualified type name.

Operators

operator +(ColorF, ColorF)

Adds two ColorF values component-wise.

public static ColorF operator +(ColorF A, ColorF B)

Parameters

A ColorF

The first ColorF value.

B ColorF

The second ColorF value to add.

Returns

ColorF

A new ColorF with the sum of each component.

operator +(ColorF, Color)

Adds a ColorF and a Godot.Color value component-wise.

public static ColorF operator +(ColorF A, Color B)

Parameters

A ColorF

The first ColorF value.

B Color

The second Godot.Color value to add.

Returns

ColorF

A new ColorF with the sum of each component.

operator +(Color, ColorF)

Adds a Godot.Color and a ColorF value component-wise.

public static ColorF operator +(Color A, ColorF B)

Parameters

A Color

The first Godot.Color value.

B ColorF

The second ColorF value to add.

Returns

ColorF

A new ColorF with the sum of each component.

operator /(ColorF, ColorF)

Divides two ColorF values component-wise.

public static ColorF operator /(ColorF A, ColorF B)

Parameters

A ColorF

The first ColorF value.

B ColorF

The second ColorF value to divide by.

Returns

ColorF

A new ColorF with the quotient of each component.

operator /(ColorF, Color)

Divides a ColorF by a Godot.Color value component-wise.

public static ColorF operator /(ColorF A, Color B)

Parameters

A ColorF

The first ColorF value.

B Color

The second Godot.Color value to divide by.

Returns

ColorF

A new ColorF with the quotient of each component.

operator /(ColorF, float)

Divides a ColorF by a scalar value component-wise.

public static ColorF operator /(ColorF A, float scale)

Parameters

A ColorF

The ColorF value to divide.

scale float

The scalar value to divide by.

Returns

ColorF

A new ColorF with each component divided by the scalar.

operator /(Color, ColorF)

Divides a Godot.Color by a ColorF value component-wise.

public static ColorF operator /(Color A, ColorF B)

Parameters

A Color

The first Godot.Color value.

B ColorF

The second ColorF value to divide by.

Returns

ColorF

A new ColorF with the quotient of each component.

operator /(float, ColorF)

Divides a scalar value by a ColorF component-wise.

public static ColorF operator /(float scale, ColorF A)

Parameters

scale float

The scalar value to divide.

A ColorF

The ColorF value to divide by.

Returns

ColorF

A new ColorF with the scalar divided by each component.

explicit operator string(ColorF)

Explicit conversion operator.(ColorF to string)

public static explicit operator string(ColorF c)

Parameters

c ColorF

Object to be converted.

Returns

string

explicit operator ColorF(string)

Explicit conversion operator.(string to ColorF)

public static explicit operator ColorF(string stg)

Parameters

stg string

Object to be converted.

Returns

ColorF

implicit operator ColorF(Color32)

Implicit conversion operator.(Color32 to ColorF)

public static implicit operator ColorF(Color32 c)

Parameters

c Color32

Object to be converted.

Returns

ColorF

implicit operator ColorF(Vector4D)

Implicit conversion operator.(Vector4D to ColorF)

public static implicit operator ColorF(Vector4D c)

Parameters

c Vector4D

Object to be converted.

Returns

ColorF

implicit operator ColorF(Color)

Implicit conversion operator.(Godot.Color to ColorF)

public static implicit operator ColorF(Color c)

Parameters

c Color

Object to be converted.

Returns

ColorF

operator *(ColorF, ColorF)

Multiplies two ColorF values component-wise.

public static ColorF operator *(ColorF A, ColorF B)

Parameters

A ColorF

The first ColorF value.

B ColorF

The second ColorF value to multiply.

Returns

ColorF

A new ColorF with the product of each component.

operator *(ColorF, Color)

Multiplies a ColorF and a Godot.Color value component-wise.

public static ColorF operator *(ColorF A, Color B)

Parameters

A ColorF

The first ColorF value.

B Color

The second Godot.Color value to multiply.

Returns

ColorF

A new ColorF with the product of each component.

operator *(ColorF, float)

Multiplies a ColorF by a scalar value.

public static ColorF operator *(ColorF A, float scale)

Parameters

A ColorF

The ColorF value to scale.

scale float

The scalar value to multiply.

Returns

ColorF

A new ColorF with each component multiplied by the scalar.

operator *(Color, ColorF)

Multiplies a Godot.Color and a ColorF value component-wise.

public static ColorF operator *(Color A, ColorF B)

Parameters

A Color

The first Godot.Color value.

B ColorF

The second ColorF value to multiply.

Returns

ColorF

A new ColorF with the product of each component.

operator *(float, ColorF)

Multiplies a ColorF by a scalar value.

public static ColorF operator *(float scale, ColorF A)

Parameters

scale float

The scalar value to multiply.

A ColorF

The ColorF value to scale.

Returns

ColorF

A new ColorF with each component multiplied by the scalar.

operator -(ColorF, ColorF)

Subtracts two ColorF values component-wise.

public static ColorF operator -(ColorF A, ColorF B)

Parameters

A ColorF

The first ColorF value.

B ColorF

The second ColorF value to subtract.

Returns

ColorF

A new ColorF with the difference of each component.

operator -(ColorF, Color)

Subtracts a Godot.Color from a ColorF value component-wise.

public static ColorF operator -(ColorF A, Color B)

Parameters

A ColorF

The first ColorF value.

B Color

The second Godot.Color value to subtract.

Returns

ColorF

A new ColorF with the difference of each component.

operator -(Color, ColorF)

Subtracts a ColorF from a Godot.Color value component-wise.

public static ColorF operator -(Color A, ColorF B)

Parameters

A Color

The first Godot.Color value.

B ColorF

The second ColorF value to subtract.

Returns

ColorF

A new ColorF with the difference of each component.

operator -(ColorF)

Negates all components of a ColorF value.

public static ColorF operator -(ColorF A)

Parameters

A ColorF

The ColorF value to negate.

Returns

ColorF

A new ColorF with negated components.