org.xith3d.loaders.models
Enum ModelLoader.SourceModelType

java.lang.Object
  extended by java.lang.Enum<ModelLoader.SourceModelType>
      extended by org.xith3d.loaders.models.ModelLoader.SourceModelType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ModelLoader.SourceModelType>
Enclosing class:
ModelLoader

protected static enum ModelLoader.SourceModelType
extends java.lang.Enum<ModelLoader.SourceModelType>


Enum Constant Summary
AC3D
           
ASE
           
BSP
           
CAL3D
           
COLLADA
           
MD2
           
MD3
           
MD5
           
MS3D
           
OBJ
           
TDS
           
 
Method Summary
 boolean getConvertFlag(int flags)
           
 Geometry.Optimization getDefaultOptimization()
           
 boolean hasDefaultZUp()
           
static ModelLoader.SourceModelType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ModelLoader.SourceModelType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AC3D

public static final ModelLoader.SourceModelType AC3D

ASE

public static final ModelLoader.SourceModelType ASE

BSP

public static final ModelLoader.SourceModelType BSP

CAL3D

public static final ModelLoader.SourceModelType CAL3D

COLLADA

public static final ModelLoader.SourceModelType COLLADA

MD2

public static final ModelLoader.SourceModelType MD2

MD3

public static final ModelLoader.SourceModelType MD3

MD5

public static final ModelLoader.SourceModelType MD5

MS3D

public static final ModelLoader.SourceModelType MS3D

OBJ

public static final ModelLoader.SourceModelType OBJ

TDS

public static final ModelLoader.SourceModelType TDS
Method Detail

values

public static ModelLoader.SourceModelType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ModelLoader.SourceModelType c : ModelLoader.SourceModelType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ModelLoader.SourceModelType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

hasDefaultZUp

public final boolean hasDefaultZUp()

getConvertFlag

public final boolean getConvertFlag(int flags)

getDefaultOptimization

public final Geometry.Optimization getDefaultOptimization()