Class Skeleton
java.lang.Object
foundry.veil.api.client.necromancer.Skeleton
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
int
void
storeInstancedData
(ByteBuffer buffer, Collection<Bone> bones, it.unimi.dsi.fastutil.objects.Object2IntMap<String> boneIds, int depth, org.joml.Vector4f color, org.joml.Matrix3f normalMatrix, org.joml.Matrix4x3f baseTransform, org.joml.Matrix4x3f[] matrixStack, org.joml.Quaternionf[] orientationStack, float partialTicks) Steps through the entire skeleton to store in the specified bone buffer.void
tick()
-
Field Details
-
MAX_BONES
public static final int MAX_BONES- See Also:
-
UNIFORM_STRIDE
public static final int UNIFORM_STRIDE- See Also:
-
roots
-
bones
-
-
Constructor Details
-
Skeleton
public Skeleton()
-
-
Method Details
-
tick
public void tick() -
addBone
-
buildRoots
public void buildRoots() -
getMaxDepth
public int getMaxDepth()- Returns:
- The maximum number of bone layers in this skeleton
-
storeInstancedData
public void storeInstancedData(ByteBuffer buffer, Collection<Bone> bones, it.unimi.dsi.fastutil.objects.Object2IntMap<String> boneIds, int depth, org.joml.Vector4f color, org.joml.Matrix3f normalMatrix, org.joml.Matrix4x3f baseTransform, org.joml.Matrix4x3f[] matrixStack, org.joml.Quaternionf[] orientationStack, float partialTicks) Steps through the entire skeleton to store in the specified bone buffer.- Parameters:
buffer
-bones
-boneIds
-depth
-matrixStack
-orientationStack
-
-