All Downloads are FREE. Search and download functionalities are using the official Maven repository.

info.laht.threekt.materials.ShadowMaterial.kt Maven / Gradle / Ivy

The newest version!
package info.laht.threekt.materials

import info.laht.threekt.math.Color

class ShadowMaterial : Material(), MaterialWithColor {

    override val color = Color(0xffffff)

    init {
        transparent = true
    }

    override fun clone(): ShadowMaterial {
        return ShadowMaterial().copy(this)
    }

    fun copy(source: ShadowMaterial): ShadowMaterial {

        super.copy(source)

        this.color.copy(source.color)

        return this

    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy