Package kr.toxicity.model.api.animation
Record Class VectorPoint.BezierConfig
java.lang.Object
java.lang.Record
kr.toxicity.model.api.animation.VectorPoint.BezierConfig
- Record Components:
leftTime- left timeleftValue- left valuerightTime- right timerightValue- 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
ConstructorsConstructorDescriptionBezierConfig(@Nullable org.joml.Vector3f leftTime, @Nullable org.joml.Vector3f leftValue, @Nullable org.joml.Vector3f rightTime, @Nullable org.joml.Vector3f rightValue) Creates an instance of aBezierConfigrecord 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.@NotNull org.joml.Vector3fleftTime()Returns the value of theleftTimerecord component.@NotNull org.joml.Vector3fReturns the value of theleftValuerecord component.@NotNull org.joml.Vector3fReturns the value of therightTimerecord component.@NotNull org.joml.Vector3fReturns the value of therightValuerecord component.final StringtoString()Returns a string representation of this record class.
-
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 aBezierConfigrecord class.- Parameters:
leftTime- the value for theleftTimerecord componentleftValue- the value for theleftValuerecord componentrightTime- the value for therightTimerecord componentrightValue- the value for therightValuerecord component
-
-
Method Details
-
leftTime
@NotNull public @NotNull org.joml.Vector3f leftTime()Returns the value of theleftTimerecord component.- Returns:
- the value of the
leftTimerecord component
-
leftValue
@NotNull public @NotNull org.joml.Vector3f leftValue()Returns the value of theleftValuerecord component.- Returns:
- the value of the
leftValuerecord component
-
rightTime
@NotNull public @NotNull org.joml.Vector3f rightTime()Returns the value of therightTimerecord component.- Returns:
- the value of the
rightTimerecord component
-
rightValue
@NotNull public @NotNull org.joml.Vector3f rightValue()Returns the value of therightValuerecord component.- Returns:
- the value of the
rightValuerecord component
-
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).
-