class Models::Material
- Models::Material
- Reference
- Object
Defined in:
models.crConstructors
- .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)
- .new(name : String, colors : Hash(String, CrystalEdge::Vector3), dissolvance : Float64, maps : Hash(String, String), reflection : Hash(String, String))
- .new(name : String)
Instance Method Summary
- #colors : Hash(String, CrystalEdge::Vector3)
- #colors=(colors : Hash(String, CrystalEdge::Vector3))
- #dissolvance : Float64
- #dissolvance=(dissolvance : Float64)
- #maps : Hash(String, String)
- #maps=(maps : Hash(String, String))
- #optical_density : Float64
- #optical_density=(optical_density : Float64)
- #reflection : Hash(String, String)
- #reflection=(reflection : Hash(String, String))
- #sharpness : Float64
- #sharpness=(sharpness : Float64)
- #specular_exponent : Float64
- #specular_exponent=(specular_exponent : Float64)
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)
#
def self.new(name : String, colors : Hash(String, CrystalEdge::Vector3), dissolvance : Float64, maps : Hash(String, String), reflection : Hash(String, String))
#