Programming API Reference: EduGraf.Tensors

Class public Color4

: Tensor, IColor, IEquatable<Color4>
This represents a color with transparency that can be sent to the GPU.
Property public float R { get; }: red in the range of 0..1.
Property public float G { get; }: green in the range of 0..1.
Property public float B { get; }: blue in the range of 0..1.
Property public float A { get; }: transparency in the range of 0..1.

Constructor()

Creates a new instance.
Property public Color3 Color3 { get }: Strips transparency from the color.

Operator public static Color4 -()

Operator public static Color4 *()

Operator public static Color4 *()

Operator public static Color4 *()

Operator public static Color4 +()

Operator public static Color4 -()