class Models::Material

Defined in:

models.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, colors : Hash(String, CrystalEdge::Vector3), dissolvance : Float64, maps : Hash(String, String), reflection : Hash(String, String), specular_exponent : Float64, sharpness : Float64, optical_density : Float64) #

[View source]
def self.new(name : String, colors : Hash(String, CrystalEdge::Vector3), dissolvance : Float64, maps : Hash(String, String), reflection : Hash(String, String)) #

[View source]
def self.new(name : String) #

[View source]

Instance Method Detail

def colors : Hash(String, CrystalEdge::Vector3) #

[View source]
def colors=(colors : Hash(String, CrystalEdge::Vector3)) #

[View source]
def dissolvance : Float64 #

[View source]
def dissolvance=(dissolvance : Float64) #

[View source]
def maps : Hash(String, String) #

[View source]
def maps=(maps : Hash(String, String)) #

[View source]
def optical_density : Float64 #

[View source]
def optical_density=(optical_density : Float64) #

[View source]
def reflection : Hash(String, String) #

[View source]
def reflection=(reflection : Hash(String, String)) #

[View source]
def sharpness : Float64 #

[View source]
def sharpness=(sharpness : Float64) #

[View source]
def specular_exponent : Float64 #

[View source]
def specular_exponent=(specular_exponent : Float64) #

[View source]