Record Class BlueprintAnimator.AnimatorData
java.lang.Object
java.lang.Record
kr.toxicity.model.api.data.blueprint.BlueprintAnimator.AnimatorData
- Record Components:
name- nametransform- transformscale- scalerotation- rotation
- Enclosing class:
BlueprintAnimator
public static record BlueprintAnimator.AnimatorData(@NotNull String name, @NotNull List<VectorPoint> transform, @NotNull List<VectorPoint> scale, @NotNull List<VectorPoint> rotation)
extends Record
Animation data
-
Constructor Summary
ConstructorsConstructorDescriptionAnimatorData(@NotNull String name, @NotNull List<VectorPoint> transform, @NotNull List<VectorPoint> scale, @NotNull List<VectorPoint> rotation) Creates an instance of aAnimatorDatarecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull Stream<VectorPoint> final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotNull Stringname()Returns the value of thenamerecord component.@NotNull List<VectorPoint> rotation()Returns the value of therotationrecord component.@NotNull List<VectorPoint> scale()Returns the value of thescalerecord component.final StringtoString()Returns a string representation of this record class.@NotNull List<VectorPoint> Returns the value of thetransformrecord component.
-
Constructor Details
-
AnimatorData
public AnimatorData(@NotNull @NotNull String name, @NotNull @NotNull List<VectorPoint> transform, @NotNull @NotNull List<VectorPoint> scale, @NotNull @NotNull List<VectorPoint> rotation) Creates an instance of aAnimatorDatarecord class.
-
-
Method Details
-
allPoints
-
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 withObjects::equals(Object,Object). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
transform
Returns the value of thetransformrecord component.- Returns:
- the value of the
transformrecord component
-
scale
Returns the value of thescalerecord component.- Returns:
- the value of the
scalerecord component
-
rotation
Returns the value of therotationrecord component.- Returns:
- the value of the
rotationrecord component
-