struct Godot::Color::XYZ

Overview

Intermediary representation for CIE 1931 XYZ (D65 standard illuminant)

Defined in:

lapis/color.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

try?(&)
try?
try?

Constructor Detail

def self.new(x : Float32, y : Float32, z : Float32, a : Float32 = 1.0_f32) #

def self.new(x : Number, y : Number, z : Number, a : Number = 1.0) #

Instance Method Detail

def a : Float32 #

def a=(a : Float32) #

def a=(val : Number) : Void #

def to_color : Godot::Color #

def to_rgb : Godot::Color #

def to_s(io : IO) : Void #
Description copied from struct Struct

Same as #inspect(io).


def x : Float32 #

def x=(x : Float32) #

def x=(val : Number) : Void #

def y : Float32 #

def y=(y : Float32) #

def y=(val : Number) : Void #

def z : Float32 #

def z=(z : Float32) #

def z=(val : Number) : Void #