Record Class VectorPoint.BezierConfig

java.lang.Object
java.lang.Record
kr.toxicity.model.api.animation.VectorPoint.BezierConfig
Record Components:
leftTime - left time
leftValue - left value
rightTime - right time
rightValue - right value
Enclosing class:
VectorPoint

public static record VectorPoint.BezierConfig(@Nullable org.joml.Vector3f leftTime, @Nullable org.joml.Vector3f leftValue, @Nullable org.joml.Vector3f rightTime, @Nullable org.joml.Vector3f rightValue) extends Record
Bezier config
  • Constructor Summary

    Constructors
    Constructor
    Description
    BezierConfig(@Nullable org.joml.Vector3f leftTime, @Nullable org.joml.Vector3f leftValue, @Nullable org.joml.Vector3f rightTime, @Nullable org.joml.Vector3f rightValue)
    Creates an instance of a BezierConfig record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    @NotNull org.joml.Vector3f
    Returns the value of the leftTime record component.
    @NotNull org.joml.Vector3f
    Returns the value of the leftValue record component.
    @NotNull org.joml.Vector3f
    Returns the value of the rightTime record component.
    @NotNull org.joml.Vector3f
    Returns the value of the rightValue record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • BezierConfig

      public BezierConfig(@Nullable @Nullable org.joml.Vector3f leftTime, @Nullable @Nullable org.joml.Vector3f leftValue, @Nullable @Nullable org.joml.Vector3f rightTime, @Nullable @Nullable org.joml.Vector3f rightValue)
      Creates an instance of a BezierConfig record class.
      Parameters:
      leftTime - the value for the leftTime record component
      leftValue - the value for the leftValue record component
      rightTime - the value for the rightTime record component
      rightValue - the value for the rightValue record component
  • Method Details

    • leftTime

      @NotNull public @NotNull org.joml.Vector3f leftTime()
      Returns the value of the leftTime record component.
      Returns:
      the value of the leftTime record component
    • leftValue

      @NotNull public @NotNull org.joml.Vector3f leftValue()
      Returns the value of the leftValue record component.
      Returns:
      the value of the leftValue record component
    • rightTime

      @NotNull public @NotNull org.joml.Vector3f rightTime()
      Returns the value of the rightTime record component.
      Returns:
      the value of the rightTime record component
    • rightValue

      @NotNull public @NotNull org.joml.Vector3f rightValue()
      Returns the value of the rightValue record component.
      Returns:
      the value of the rightValue record component
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.