TrackNode

data class TrackNode(val id: Int = -1, val posX: Double = 0.0, val posY: Double = 0.0, val posZ: Double = 0.0, val frontX: Float = 0.0f, val frontY: Float = 0.0f, val frontZ: Float = 0.0f, val leftX: Float = 0.0f, val leftY: Float = 0.0f, val leftZ: Float = 0.0f, val upX: Float = 0.0f, val upY: Float = 0.0f, val upZ: Float = 0.0f)(source)

Constructors

Link copied to clipboard
constructor(id: Int = -1, posX: Double = 0.0, posY: Double = 0.0, posZ: Double = 0.0, frontX: Float = 0.0f, frontY: Float = 0.0f, frontZ: Float = 0.0f, leftX: Float = 0.0f, leftY: Float = 0.0f, leftZ: Float = 0.0f, upX: Float = 0.0f, upY: Float = 0.0f, upZ: Float = 0.0f)

Properties

Link copied to clipboard
val frontVector: BlockVector

Represents the front vector.

Link copied to clipboard
val frontX: Float = 0.0f
Link copied to clipboard
val frontY: Float = 0.0f
Link copied to clipboard
val frontZ: Float = 0.0f
Link copied to clipboard
val id: Int
Link copied to clipboard
val leftVector: BlockVector

Represents a left vector in a Cartesian coordinate system. The vector is represented as a BlockVector.

Link copied to clipboard
val leftX: Float = 0.0f
Link copied to clipboard
val leftY: Float = 0.0f
Link copied to clipboard
val leftZ: Float = 0.0f
Link copied to clipboard
val position: BlockVector

Represents a position in three-dimensional space.

Link copied to clipboard
val posX: Double = 0.0
Link copied to clipboard
val posY: Double = 0.0
Link copied to clipboard
val posZ: Double = 0.0
Link copied to clipboard
val upVector: BlockVector

Represents an upward vector in three-dimensional space. This vector is used to define the direction of the "up" in relation to a reference point.

Link copied to clipboard
val upX: Float = 0.0f
Link copied to clipboard
val upY: Float = 0.0f
Link copied to clipboard
val upZ: Float = 0.0f

Functions

Link copied to clipboard
fun displayInWord(origin: Location): UUID

Displays a node in the given world as itemDisplayEntities.

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