toIntVector3

fun toIntVector3(x: Int = if (this.x) 1 else 0, y: Int = if (this.y) 1 else 0, z: Int = if (this.z) 1 else 0): IntVector3(source)

Casts to IntVector3.