Color
An RGBA color. Each component is a value with a range from 0 to 1. Can be created from an Android ColorInt.
Deprecated
Constructors
Link copied to clipboard
constructor()
Construct a Color and default it to white (1, 1, 1, 1).
Construct a Color with the values of another color.
Construct a color with the RGB values passed in and an alpha of 1.
Construct a color with the RGBA values passed in.
Construct a color with an integer in the sRGB color space packed as an ARGB value.
Properties
Functions
Link copied to clipboard
Returns a new color with Sceneform's tonemapping inversed.
Link copied to clipboard
Set to the values of another color.
Set to RGBA values from an integer in the sRGB color space packed as an ARGB value.
Set to the RGB values passed in and an alpha of 1.
Set to the RGBA values passed in.