Package com.aspose.threed
Class VertexField
- java.lang.Object
-
- com.aspose.threed.VertexField
-
- All Implemented Interfaces:
java.lang.Comparable<VertexField>
public class VertexField extends java.lang.Object implements java.lang.Comparable<VertexField>
Vertex's field memory layout description.
-
-
Method Summary
Modifier and Type Method Description int
compareTo(VertexField other)
Compares this instance to a specified object and returns an indication of their relative values.boolean
equals(java.lang.Object obj)
Determines whether this instance and a specified object, which must also be aVertexField
object, have the same value.int
getDataType()
Data type of this field.int
getIndex()
Index of this field in the vertex's layout with same semantic.int
getOffset()
The offset in bytes of this field.VertexFieldSemantic
getSemantic()
The usage semantic of this field.int
getSize()
The size in bytes of this fieldint
hashCode()
Returns the hash code for this string.java.lang.String
toString()
Gets the string representation ofVertexField
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
Determines whether this instance and a specified object, which must also be aVertexField
object, have the same value.- Overrides:
equals
in classjava.lang.Object
-
getDataType
public int getDataType()
Data type of this field.
-
getSemantic
public VertexFieldSemantic getSemantic()
The usage semantic of this field.
-
getIndex
public int getIndex()
Index of this field in the vertex's layout with same semantic.
-
getOffset
public int getOffset()
The offset in bytes of this field.
-
getSize
public int getSize()
The size in bytes of this field
-
compareTo
public int compareTo(VertexField other)
Compares this instance to a specified object and returns an indication of their relative values.- Specified by:
compareTo
in interfacejava.lang.Comparable<VertexField>
-
toString
public java.lang.String toString()
Gets the string representation ofVertexField
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
Returns the hash code for this string.- Overrides:
hashCode
in classjava.lang.Object
- Returns:
- A 32-bit signed integer hash code.
-
-