@Generated(value={"Immutables.generator","R2MeshTangentsVertexType"}) public final class R2MeshTangentsVertex extends Object implements R2MeshTangentsVertexType
| Modifier and Type | Method and Description |
|---|---|
long |
bitangentIndex() |
static R2MeshTangentsVertex |
copyOf(R2MeshTangentsVertexType instance)
Creates an immutable copy of a
R2MeshTangentsVertexType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
R2MeshTangentsVertex that have equal attribute values. |
int |
hashCode()
Returns a precomputed-on-construction hash code from attributes:
positionIndex, normalIndex, tangentIndex, bitangentIndex, uvIndex. |
long |
normalIndex() |
static R2MeshTangentsVertex |
of(long positionIndex,
long normalIndex,
long tangentIndex,
long bitangentIndex,
long uvIndex)
Construct a new immutable
R2MeshTangentsVertex instance. |
long |
positionIndex() |
long |
tangentIndex() |
String |
toString()
Prints the immutable value
R2MeshTangentsVertex with attribute values. |
long |
uvIndex() |
R2MeshTangentsVertex |
withBitangentIndex(long value)
Copy the current immutable object by setting a value for the
bitangentIndex attribute. |
R2MeshTangentsVertex |
withNormalIndex(long value)
Copy the current immutable object by setting a value for the
normalIndex attribute. |
R2MeshTangentsVertex |
withPositionIndex(long value)
Copy the current immutable object by setting a value for the
positionIndex attribute. |
R2MeshTangentsVertex |
withTangentIndex(long value)
Copy the current immutable object by setting a value for the
tangentIndex attribute. |
R2MeshTangentsVertex |
withUvIndex(long value)
Copy the current immutable object by setting a value for the
uvIndex attribute. |
public long positionIndex()
positionIndex in interface R2MeshTangentsVertexTypepublic long normalIndex()
normalIndex in interface R2MeshTangentsVertexTypepublic long tangentIndex()
tangentIndex in interface R2MeshTangentsVertexTypepublic long bitangentIndex()
bitangentIndex in interface R2MeshTangentsVertexTypepublic long uvIndex()
uvIndex in interface R2MeshTangentsVertexTypepublic final R2MeshTangentsVertex withPositionIndex(long value)
positionIndex attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for positionIndexthis objectpublic final R2MeshTangentsVertex withNormalIndex(long value)
normalIndex attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for normalIndexthis objectpublic final R2MeshTangentsVertex withTangentIndex(long value)
tangentIndex attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for tangentIndexthis objectpublic final R2MeshTangentsVertex withBitangentIndex(long value)
bitangentIndex attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for bitangentIndexthis objectpublic final R2MeshTangentsVertex withUvIndex(long value)
uvIndex attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for uvIndexthis objectpublic boolean equals(Object another)
R2MeshTangentsVertex that have equal attribute values.public int hashCode()
positionIndex, normalIndex, tangentIndex, bitangentIndex, uvIndex.public String toString()
R2MeshTangentsVertex with attribute values.public static R2MeshTangentsVertex of(long positionIndex, long normalIndex, long tangentIndex, long bitangentIndex, long uvIndex)
R2MeshTangentsVertex instance.positionIndex - The value for the positionIndex attributenormalIndex - The value for the normalIndex attributetangentIndex - The value for the tangentIndex attributebitangentIndex - The value for the bitangentIndex attributeuvIndex - The value for the uvIndex attributepublic static R2MeshTangentsVertex copyOf(R2MeshTangentsVertexType instance)
R2MeshTangentsVertexType value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copyCopyright © 2016 <code@io7m.com> http://io7m.com