Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Returns the bind matrix of this bone.

Link copied to clipboard
open override val children: Array<ZBone>

Returns the children of this bone.

Link copied to clipboard
override val data: ZBoneData

Provides access to the component's serializable data.

Link copied to clipboard
open override val hasParent: Boolean

Returns true if this bone has a parent, false otherwise.

Link copied to clipboard
var id: String

Returns the unique identifier of this bone.

Link copied to clipboard

Returns the inverse bind matrix of this bone.

Link copied to clipboard
Link copied to clipboard
override val isInitialized: Boolean

Represents a boolean value indicating whether a component has been initialized.

Link copied to clipboard
override val isRenderizable: Boolean

Represents a boolean value indicating whether a component is renderizable.

Link copied to clipboard
open val isRoot: Boolean
Link copied to clipboard

Returns the name of this bone.

Link copied to clipboard
open override val parent: ZBone?
Link copied to clipboard

Returns the world pose matrix of this bone for the current frame (rest or animated).

Link copied to clipboard
override val refId: String

Represents the unique identifier for a reference-based component. The refId is used as a distinctive key for retrieving or linking this component within reference-dependent systems.

Link copied to clipboard

Returns the transform of this bone.

Functions

Link copied to clipboard
fun addChild(bone: ZBone)

Add a child bone to this bone.

Link copied to clipboard
open override fun dispose()

Disposes the component and releases resources. Idempotent: multiple calls are safe. Subclasses with own state to release should override internalDispose.

Link copied to clipboard
open override fun initialize(ctx: ZRenderingContext)

Initializes the ZComponent using the provided ZRenderingContext.