Attachment

open class Attachment(val name: String, var localPosition: Vector, var localRotation: Vector, var transform: Matrix4f = Matrix4f(), var localTransformChance: Boolean = false)(source)

Inheritors

Constructors

Link copied to clipboard
constructor(name: String, localPosition: Vector, localRotation: Vector, transform: Matrix4f = Matrix4f(), localTransformChance: Boolean = false)

Properties

Link copied to clipboard
val bukkitLocation: Location
Link copied to clipboard
Link copied to clipboard
var localPosition: Vector
Link copied to clipboard
var localRotation: Vector
Link copied to clipboard
open val localTransform: Matrix4f
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
lateinit var root: RootAttachment
Link copied to clipboard
var transform: Matrix4f
Link copied to clipboard
val worldPosition: Vector
Link copied to clipboard
val worldRotation: Vector
Link copied to clipboard
var worldTransform: Matrix4f

Functions

Link copied to clipboard
fun addChild(child: Attachment)
Link copied to clipboard
open fun despawn()
Link copied to clipboard
Link copied to clipboard
open fun spawn()
Link copied to clipboard
Link copied to clipboard
open fun updateTransform()
Link copied to clipboard
fun updateTransformRecurse(transform: Matrix4f)