Package kr.toxicity.library.dynamicuv
Record Class UVMappedFace
java.lang.Object
java.lang.Record
kr.toxicity.library.dynamicuv.UVMappedFace
- Record Components:
face- the UV faceposition- the position vectorpixel- the pixel vector
public record UVMappedFace(@NotNull UVFace face, @NotNull ElementVector position, @NotNull ElementVector pixel)
extends Record
Represents a mapped face in UV coordinates.
-
Constructor Summary
ConstructorsConstructorDescriptionUVMappedFace(@NotNull UVFace face, @NotNull ElementVector position, @NotNull ElementVector pixel) Creates an instance of aUVMappedFacerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@NotNull UVFaceface()Returns the value of thefacerecord component.final inthashCode()Returns a hash code value for this object.@NotNull ElementVectorpixel()Returns the value of thepixelrecord component.@NotNull ElementVectorposition()Returns the value of thepositionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
UVMappedFace
public UVMappedFace(@NotNull @NotNull UVFace face, @NotNull @NotNull ElementVector position, @NotNull @NotNull ElementVector pixel) Creates an instance of aUVMappedFacerecord class.
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
face
Returns the value of thefacerecord component.- Returns:
- the value of the
facerecord component
-
position
Returns the value of thepositionrecord component.- Returns:
- the value of the
positionrecord component
-
pixel
Returns the value of thepixelrecord component.- Returns:
- the value of the
pixelrecord component
-