fromCartesian4
Creates a Color instance from a Cartesian4. x
, y
, z
, and w
map to red
, green
, blue
, and alpha
, respectively.
Return
The modified result parameter or a new Color instance if one was not provided.
Parameters
cartesian
The source cartesian.
result
The object onto which to store the result.