Skip to main content

ZBone

actualpackageZBone
17 items
constructorZBone
constructor()
var bindMatrix: ZMatrix4
Returns the bind matrix of this bone.
open override val children: Array<ZBone>
Returns the children of this bone.
open override val hasParent: Boolean
Returns true if this bone has a parent, false otherwise.
varid
var id: String
Returns the unique identifier of this bone.
var inverseBindMatrix: ZMatrix4
Returns the inverse bind matrix of this bone.
override val isInitialized: Boolean
Represents a boolean value indicating whether a component has been initialized.
open override val isRenderizable: Boolean = false
Represents a boolean value indicating whether a component is renderizable.
open val isRoot: Boolean
varname
var name: String
Returns the name of this bone.
open override val parent: ZBone?
var poseMatrix: ZMatrix4
Returns the pose matrix of this bone.
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.
var transform: ZTransform
Returns the transform of this bone.
fun addChild(bone: ZBone)
Add a child bone to this bone.
fun computePoseFromKeyFrame(keyFrame: ZKeyFrame, parentPoseMatrix: ZMatrix4)
Compute the pose matrix for this bone and its children from the given keyframe.
open override fun initialize(ctx: ZRenderingContext)
Initializes the ZComponent using the provided ZRenderingContext.