Package com.hbm_m.client.loader.dae
Class DaeNode
java.lang.Object
com.hbm_m.client.loader.dae.DaeNode
A COLLADA scene node. Holds its base transforms, an optional baked geometry buffer
and its children. Animation channels are queried from the active
DaeAnimation
by the node's COLLADA id, falling back to its display name.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.joml.Matrix4fComputes the local matrix in rest pose (no animation applied)org.joml.Matrix4flocalMatrix(float time, DaeAnimation animation) Computes the local matrix for the given animation time.
-
Field Details
-
name
-
colladaId
The COLLADA id attribute; animation channels reference this, not the name. -
transforms
-
children
-
mesh
-
texture
public net.minecraft.resources.ResourceLocation texture
-
-
Constructor Details
-
DaeNode
-
-
Method Details
-
localMatrix
public org.joml.Matrix4f localMatrix()Computes the local matrix in rest pose (no animation applied) -
localMatrix
Computes the local matrix for the given animation time. Channels of the given clip override the base transform values; a"matrix"channel replaces the node transform entirely. Whenanimationis null or the node has no channels, the rest pose is returned.
-