Class Bone
java.lang.Object
foundry.veil.api.client.necromancer.Bone
-
Field Summary
FieldsModifier and TypeFieldDescriptionorg.joml.Vector4f
org.joml.Vector3f
org.joml.Quaternionf
org.joml.Vector3f
org.joml.Vector3f
org.joml.Vector4f
final String
@Nullable Bone
org.joml.Vector3f
org.joml.Vector4f
org.joml.Vector3f
org.joml.Quaternionf
org.joml.Vector3f
org.joml.Vector3f
org.joml.Quaternionf
org.joml.Vector3f
org.joml.Vector3f
-
Constructor Summary
Constructors -
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) offset
(float x, float y, float z) offsetX
(float x) offsetY
(float y) offsetZ
(float z) void
reset()
rotate
(float angle, net.minecraft.core.Direction.Axis axis) rotateDeg
(float angle, net.minecraft.core.Direction.Axis axis) void
setBaseAttributes
(org.joml.Vector3fc pos, org.joml.Quaternionfc rotation, org.joml.Vector3f rotationPoint, 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 -
rotationPoint
public org.joml.Vector3f rotationPoint -
previousRotationPoint
public org.joml.Vector3f previousRotationPoint -
baseRotationPoint
public org.joml.Vector3f baseRotationPoint -
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.Vector3f rotationPoint, 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
-
rotateDeg
-
offset
-
offsetX
-
offsetY
-
offsetZ
-