BooleanVector3

@Serializable
data class BooleanVector3(val x: Boolean, val y: Boolean, val z: Boolean)(source)

Boolean 3D vector

Constructors

Link copied to clipboard
constructor(x: Boolean, y: Boolean, z: Boolean)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
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

Casts to IntVector3.

Link copied to clipboard
fun toVector3(x: Double = if (this.x) 1.0 else 0.0, y: Double = if (this.y) 1.0 else 0.0, z: Double = if (this.z) 1.0 else 0.0): Vector3

Casts to Vector3.

Properties

Link copied to clipboard
val x: Boolean
Link copied to clipboard
val y: Boolean
Link copied to clipboard
val z: Boolean