Bool3

class Bool3

Represents a structure containing three boolean values.

Constructors

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

Constructs a new Bool3 instance with the specified x, y, z components.

constructor(value: Boolean)

Constructs a Bool3 instance where all three values (x, y, z) are set to the specified boolean value.

constructor(other: Bool3)

Constructs a Bool3 instance by copying values from another Bool3 instance.

Properties

Link copied to clipboard
val x: Boolean

The boolean value representing the x-axis.

Link copied to clipboard
val y: Boolean

The boolean value representing the y-axis.

Link copied to clipboard
val z: Boolean

The boolean value representing the z-axis.

Functions

Link copied to clipboard
infix fun and(other: Bool3): Bool3

Performs a logical AND operation between this Bool3 instance and another Bool3 instance.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun not(): Bool3

Performs a logical NOT operation on this Bool3 instance.

Link copied to clipboard
infix fun or(other: Bool3): Bool3

Performs a logical OR operation between this Bool3 instance and another Bool3 instance.

Link copied to clipboard
open override fun toString(): String