info.laht.threekt.materials.LineDashedMaterial.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
class LineDashedMaterial : LineBasicMaterial() {
var scale = 1f
var dashSize = 3f
var gapSize = 1f
override fun clone(): LineDashedMaterial {
return LineDashedMaterial().copy(this)
}
fun copy(source: LineDashedMaterial): LineDashedMaterial {
super.copy(source)
this.scale = source.scale
this.dashSize = source.dashSize
this.gapSize = source.gapSize
return this
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy