Record Class BoneTransform
java.lang.Object
java.lang.Record
foundry.veil.api.client.necromancer.animation.keyframed.BoneTransform
public record BoneTransform(float x, float y, float z, float qx, float qy, float qz, float qw, float sx, float sy, float sz)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionBoneTransform(float x, float y, float z, float qx, float qy, float qz, float qw, float sx, float sy, float sz) Creates an instance of aBoneTransformrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.floatqw()Returns the value of theqwrecord component.floatqx()Returns the value of theqxrecord component.floatqy()Returns the value of theqyrecord component.floatqz()Returns the value of theqzrecord component.floatsx()Returns the value of thesxrecord component.floatsy()Returns the value of thesyrecord component.floatsz()Returns the value of theszrecord component.final StringtoString()Returns a string representation of this record class.floatx()Returns the value of thexrecord component.floaty()Returns the value of theyrecord component.floatz()Returns the value of thezrecord component.
-
Constructor Details
-
BoneTransform
public BoneTransform(float x, float y, float z, float qx, float qy, float qz, float qw, float sx, float sy, float sz) Creates an instance of aBoneTransformrecord class.- Parameters:
x- the value for thexrecord componenty- the value for theyrecord componentz- the value for thezrecord componentqx- the value for theqxrecord componentqy- the value for theqyrecord componentqz- the value for theqzrecord componentqw- the value for theqwrecord componentsx- the value for thesxrecord componentsy- the value for thesyrecord componentsz- the value for theszrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
x
public float x()Returns the value of thexrecord component.- Returns:
- the value of the
xrecord component
-
y
public float y()Returns the value of theyrecord component.- Returns:
- the value of the
yrecord component
-
z
public float z()Returns the value of thezrecord component.- Returns:
- the value of the
zrecord component
-
qx
public float qx()Returns the value of theqxrecord component.- Returns:
- the value of the
qxrecord component
-
qy
public float qy()Returns the value of theqyrecord component.- Returns:
- the value of the
qyrecord component
-
qz
public float qz()Returns the value of theqzrecord component.- Returns:
- the value of the
qzrecord component
-
qw
public float qw()Returns the value of theqwrecord component.- Returns:
- the value of the
qwrecord component
-
sx
public float sx()Returns the value of thesxrecord component.- Returns:
- the value of the
sxrecord component
-
sy
public float sy()Returns the value of thesyrecord component.- Returns:
- the value of the
syrecord component
-
sz
public float sz()Returns the value of theszrecord component.- Returns:
- the value of the
szrecord component
-