Class Bone
java.lang.Object
foundry.veil.api.client.necromancer.Bone
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
getColor
(org.joml.Vector4f color, float partialTicks) void
getLocalTransform
(org.joml.Matrix4x3f matrix, float partialTicks) void
getLocalTransform
(org.joml.Matrix4x3f matrix, org.joml.Quaternionf orientation, float partialTicks) org.joml.Matrix4x3f
getModelTransform
(org.joml.Matrix4x3f matrix, float partialTicks) org.joml.Matrix4x3f
getModelTransform
(org.joml.Matrix4x3f matrix, org.joml.Quaternionf orientation, float partialTicks) void
reset()
void
rotate
(float angle, net.minecraft.core.Direction.Axis axis) void
rotateDeg
(float angle, net.minecraft.core.Direction.Axis axis) void
setBaseAttributes
(org.joml.Vector3fc pos, org.joml.Quaternionfc rotation, org.joml.Vector3fc scale, org.joml.Vector4fc color) void
protected void
tick
(float deltaTime) protected void
-
Field Details
-
position
public org.joml.Vector3f position -
previousPosition
public org.joml.Vector3f previousPosition -
basePosition
public org.joml.Vector3f basePosition -
rotation
public org.joml.Quaternionf rotation -
previousRotation
public org.joml.Quaternionf previousRotation -
baseRotation
public org.joml.Quaternionf baseRotation -
size
public org.joml.Vector3f size -
previousSize
public org.joml.Vector3f previousSize -
baseSize
public org.joml.Vector3f baseSize -
color
public org.joml.Vector4f color -
previousColor
public org.joml.Vector4f previousColor -
baseColor
public org.joml.Vector4f baseColor -
parent
-
children
-
identifier
-
parentChain
-
-
Constructor Details
-
Bone
-
-
Method Details
-
setBaseAttributes
public void setBaseAttributes(org.joml.Vector3fc pos, org.joml.Quaternionfc rotation, org.joml.Vector3fc scale, org.joml.Vector4fc color) -
reset
public void reset() -
updatePreviousAttributes
protected void updatePreviousAttributes() -
getModelTransform
public org.joml.Matrix4x3f getModelTransform(org.joml.Matrix4x3f matrix, org.joml.Quaternionf orientation, float partialTicks) -
getModelTransform
public org.joml.Matrix4x3f getModelTransform(org.joml.Matrix4x3f matrix, float partialTicks) -
getLocalTransform
public void getLocalTransform(org.joml.Matrix4x3f matrix, org.joml.Quaternionf orientation, float partialTicks) -
getLocalTransform
public void getLocalTransform(org.joml.Matrix4x3f matrix, float partialTicks) -
getColor
public void getColor(org.joml.Vector4f color, float partialTicks) -
tick
protected void tick(float deltaTime) -
addChild
-
setParent
-
rotate
public void rotate(float angle, net.minecraft.core.Direction.Axis axis) -
rotateDeg
public void rotateDeg(float angle, net.minecraft.core.Direction.Axis axis)
-