![JAR search and dependency download from the Maven repository](/logo.png)
info.laht.threekt.materials.ShadowMaterial.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Port of the three.js 3D javascript library for Kotlin/JVM
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