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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(VertexField other)Compares this instance to a specified object and returns an indication of their relative values.booleanequals(java.lang.Object obj)Determines whether this instance and a specified object, which must also be aVertexFieldobject, have the same value.java.lang.StringgetAlias()Field's alias.intgetDataType()Data type of this field.intgetIndex()Index of this field in the vertex's layout with same semantic.intgetOffset()The offset in bytes of this field.VertexFieldSemanticgetSemantic()The usage semantic of this field.intgetSize()The size in bytes of this fieldinthashCode()Returns the hash code for this string.java.lang.StringtoString()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 aVertexFieldobject, have the same value.- Overrides:
equalsin classjava.lang.Object
-
getDataType
public int getDataType()
Data type of this field.
-
getSemantic
public VertexFieldSemantic getSemantic()
The usage semantic of this field.
-
getAlias
public java.lang.String getAlias()
Field's alias.
-
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:
compareToin interfacejava.lang.Comparable<VertexField>
-
toString
public java.lang.String toString()
Gets the string representation ofVertexField- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
Returns the hash code for this string.- Overrides:
hashCodein classjava.lang.Object- Returns:
- A 32-bit signed integer hash code.
-
-