Package dev.turboism.sdk.cubism.model
Record Class ParameterBindingPoint
java.lang.Object
java.lang.Record
dev.turboism.sdk.cubism.model.ParameterBindingPoint
Immutable value of one Editor parameter-binding point.
value() is a finite float in the provider-defined scale for its binding family; no
additional range is asserted by this SDK contract. The point ID remains scoped to the current
model generation.
-
Constructor Summary
ConstructorsConstructorDescriptionParameterBindingPoint(ParameterBindingPointId id, float value) Creates a point with a non-null ID and finite value. -
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.id()Returns the value of theidrecord component.final StringtoString()Returns a string representation of this record class.floatvalue()Returns the value of thevaluerecord component.
-
Constructor Details
-
ParameterBindingPoint
Creates a point with a non-null ID and finite value.- Parameters:
id- point identityvalue- finite point value
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
value
public float value()Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-