This is preliminary documentation and is subject to change.
A three-component (RGB) color value; each component is a float in the range [0,1].
| C# | Visual Basic | C++/CLI |
[SerializableAttribute] public struct Color3 : IEquatable<Color3>
<SerializableAttribute> _ Public Structure Color3 _ Implements IEquatable(Of Color3)
[SerializableAttribute] public value class Color3 : IEquatable<Color3>
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| Color3(Single, Single, Single) |
Initializes a new instance of the Color3 structure.
| |
| Blue |
Gets or sets the color's blue component.
| |
| Equality(Color3, Color3) |
Tests for equality between two objects.
| |
| Equals(Color3%, Color3%) |
Determines whether the specified object instances are considered equal.
| |
| Equals(Color3) |
Returns a value that indicates whether the current instance is equal to the specified object.
| |
| Equals(Object) |
Returns a value that indicates whether the current instance is equal to a specified object.
(Overrides ValueType.Equals(Object).) | |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()()() |
Returns the hash code for this instance.
(Overrides ValueType.GetHashCode()()().) | |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| Green |
Gets or sets the color's green component.
| |
| Inequality(Color3, Color3) |
Tests for inequality between two objects.
| |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Red |
Gets or sets the color's red component.
| |
| ToString()()() | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Assembly: SlimDX (Module: SlimDX)