Models::Material
Inherits Reference < Object
Constructors
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)
Sourcenew(name : String, colors : Hash(String, CrystalEdge::Vector3), dissolvance : Float64, maps : Hash(String, String), reflection : Hash(String, String))
Sourcenew(name : String)
SourceInstance methods
colors
Sourcecolors=(colors : Hash(String, CrystalEdge::Vector3))
Sourcedissolvance
Sourcedissolvance=(dissolvance : Float64)
Sourcemaps
Sourcemaps=(maps : Hash(String, String))
Sourceoptical_density
Sourceoptical_density=(optical_density : Float64)
Sourcereflection
Sourcereflection=(reflection : Hash(String, String))
Sourcesharpness
Sourcesharpness=(sharpness : Float64)
Sourcespecular_exponent
Sourcespecular_exponent=(specular_exponent : Float64)
Source