public static enum ObjMeshLoader.DataType extends Enum<ObjMeshLoader.DataType>
| Enum Constant and Description |
|---|
COMMENT
Commentary line.
|
FACE
Object face.
|
GROUP
Group of faces.
|
NAME
Object name.
|
NORMAL
Normal vector.
|
OTHER
Other code type.
|
TEXTURE
Texture.
|
VERTEX
Vertex.
|
| Modifier and Type | Method and Description |
|---|---|
static ObjMeshLoader.DataType |
getDataType(String codeIn)
Getter for the type of data corresponding to the code.
|
static ObjMeshLoader.DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjMeshLoader.DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjMeshLoader.DataType NAME
public static final ObjMeshLoader.DataType VERTEX
public static final ObjMeshLoader.DataType TEXTURE
public static final ObjMeshLoader.DataType NORMAL
public static final ObjMeshLoader.DataType FACE
public static final ObjMeshLoader.DataType COMMENT
public static final ObjMeshLoader.DataType GROUP
public static final ObjMeshLoader.DataType OTHER
public static ObjMeshLoader.DataType[] values()
for (ObjMeshLoader.DataType c : ObjMeshLoader.DataType.values()) System.out.println(c);
public static ObjMeshLoader.DataType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static ObjMeshLoader.DataType getDataType(String codeIn)
codeIn - code defining the type of data stored in the file lineCopyright © 2025 CNES. All rights reserved.