Record Class BonePosition
java.lang.Object
java.lang.Record
kr.toxicity.model.api.bone.BonePosition
- Record Components:
globalOffset- the global offset vectorlocalOffset- the local offset vectorstate- the unique identifier of the current state, or null if none
-
Constructor Summary
ConstructorsConstructorDescriptionBonePosition(@NotNull org.joml.Vector3f globalOffset, @NotNull org.joml.Vector3f localOffset, @Nullable UUID state) Creates an instance of aBonePositionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@NotNull org.joml.Vector3fReturns the value of theglobalOffsetrecord component.final inthashCode()Returns a hash code value for this object.@NotNull org.joml.Vector3fReturns the value of thelocalOffsetrecord component.@Nullable UUIDstate()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BonePosition
public BonePosition(@NotNull @NotNull org.joml.Vector3f globalOffset, @NotNull @NotNull org.joml.Vector3f localOffset, @Nullable @Nullable UUID state) Creates an instance of aBonePositionrecord class.- Parameters:
globalOffset- the value for theglobalOffsetrecord componentlocalOffset- the value for thelocalOffsetrecord componentstate- the value for thestaterecord component
-
-
Method Details
-
toString
-
hashCode
-
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 withObjects::equals(Object,Object). -
globalOffset
@NotNull public @NotNull org.joml.Vector3f globalOffset()Returns the value of theglobalOffsetrecord component.- Returns:
- the value of the
globalOffsetrecord component
-
localOffset
@NotNull public @NotNull org.joml.Vector3f localOffset()Returns the value of thelocalOffsetrecord component.- Returns:
- the value of the
localOffsetrecord component
-
state
-