org.ogre4j
Enum MeshChunkID

java.lang.Object
  extended by java.lang.Enum<MeshChunkID>
      extended by org.ogre4j.MeshChunkID
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MeshChunkID>, INativeEnum<MeshChunkID>

public enum MeshChunkID
extends java.lang.Enum<MeshChunkID>
implements INativeEnum<MeshChunkID>


Enum Constant Summary
M_ANIMATION
           
M_ANIMATION_MORPH_KEYFRAME
           
M_ANIMATION_POSE_KEYFRAME
           
M_ANIMATION_POSE_REF
           
M_ANIMATION_TRACK
           
M_ANIMATIONS
           
M_EDGE_GROUP
           
M_EDGE_LIST_LOD
           
M_EDGE_LISTS
           
M_GEOMETRY
           
M_GEOMETRY_COLOURS
           
M_GEOMETRY_NORMALS
           
M_GEOMETRY_TEXCOORDS
           
M_GEOMETRY_VERTEX_BUFFER
           
M_GEOMETRY_VERTEX_BUFFER_DATA
           
M_GEOMETRY_VERTEX_DECLARATION
           
M_GEOMETRY_VERTEX_ELEMENT
           
M_HEADER
           
M_MESH
           
M_MESH_BONE_ASSIGNMENT
           
M_MESH_BOUNDS
           
M_MESH_LOD
           
M_MESH_LOD_GENERATED
           
M_MESH_LOD_MANUAL
           
M_MESH_LOD_USAGE
           
M_MESH_SKELETON_LINK
           
M_POSE
           
M_POSE_VERTEX
           
M_POSES
           
M_SUBMESH
           
M_SUBMESH_BONE_ASSIGNMENT
           
M_SUBMESH_NAME_TABLE
           
M_SUBMESH_NAME_TABLE_ELEMENT
           
M_SUBMESH_OPERATION
           
M_SUBMESH_TEXTURE_ALIAS
           
M_TABLE_EXTREMES
           
 
Method Summary
 MeshChunkID getEnum(int val)
          Returns the enumeration value for the passed integer.
 int getValue()
          Returns the integer value of this enumeration value.
static MeshChunkID toEnum(int retval)
           
static MeshChunkID valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MeshChunkID[] 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

M_HEADER

public static final MeshChunkID M_HEADER

M_MESH

public static final MeshChunkID M_MESH

M_SUBMESH

public static final MeshChunkID M_SUBMESH

M_SUBMESH_OPERATION

public static final MeshChunkID M_SUBMESH_OPERATION

M_SUBMESH_BONE_ASSIGNMENT

public static final MeshChunkID M_SUBMESH_BONE_ASSIGNMENT

M_SUBMESH_TEXTURE_ALIAS

public static final MeshChunkID M_SUBMESH_TEXTURE_ALIAS

M_GEOMETRY

public static final MeshChunkID M_GEOMETRY

M_GEOMETRY_VERTEX_DECLARATION

public static final MeshChunkID M_GEOMETRY_VERTEX_DECLARATION

M_GEOMETRY_VERTEX_ELEMENT

public static final MeshChunkID M_GEOMETRY_VERTEX_ELEMENT

M_GEOMETRY_VERTEX_BUFFER

public static final MeshChunkID M_GEOMETRY_VERTEX_BUFFER

M_GEOMETRY_VERTEX_BUFFER_DATA

public static final MeshChunkID M_GEOMETRY_VERTEX_BUFFER_DATA

M_MESH_SKELETON_LINK

public static final MeshChunkID M_MESH_SKELETON_LINK

M_MESH_BONE_ASSIGNMENT

public static final MeshChunkID M_MESH_BONE_ASSIGNMENT

M_MESH_LOD

public static final MeshChunkID M_MESH_LOD

M_MESH_LOD_USAGE

public static final MeshChunkID M_MESH_LOD_USAGE

M_MESH_LOD_MANUAL

public static final MeshChunkID M_MESH_LOD_MANUAL

M_MESH_LOD_GENERATED

public static final MeshChunkID M_MESH_LOD_GENERATED

M_MESH_BOUNDS

public static final MeshChunkID M_MESH_BOUNDS

M_SUBMESH_NAME_TABLE

public static final MeshChunkID M_SUBMESH_NAME_TABLE

M_SUBMESH_NAME_TABLE_ELEMENT

public static final MeshChunkID M_SUBMESH_NAME_TABLE_ELEMENT

M_EDGE_LISTS

public static final MeshChunkID M_EDGE_LISTS

M_EDGE_LIST_LOD

public static final MeshChunkID M_EDGE_LIST_LOD

M_EDGE_GROUP

public static final MeshChunkID M_EDGE_GROUP

M_POSES

public static final MeshChunkID M_POSES

M_POSE

public static final MeshChunkID M_POSE

M_POSE_VERTEX

public static final MeshChunkID M_POSE_VERTEX

M_ANIMATIONS

public static final MeshChunkID M_ANIMATIONS

M_ANIMATION

public static final MeshChunkID M_ANIMATION

M_ANIMATION_TRACK

public static final MeshChunkID M_ANIMATION_TRACK

M_ANIMATION_MORPH_KEYFRAME

public static final MeshChunkID M_ANIMATION_MORPH_KEYFRAME

M_ANIMATION_POSE_KEYFRAME

public static final MeshChunkID M_ANIMATION_POSE_KEYFRAME

M_ANIMATION_POSE_REF

public static final MeshChunkID M_ANIMATION_POSE_REF

M_TABLE_EXTREMES

public static final MeshChunkID M_TABLE_EXTREMES

M_GEOMETRY_NORMALS

public static final MeshChunkID M_GEOMETRY_NORMALS

M_GEOMETRY_COLOURS

public static final MeshChunkID M_GEOMETRY_COLOURS

M_GEOMETRY_TEXCOORDS

public static final MeshChunkID M_GEOMETRY_TEXCOORDS
Method Detail

values

public static MeshChunkID[] 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 (MeshChunkID c : MeshChunkID.values())
    System.out.println(c);

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

valueOf

public static MeshChunkID 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

getValue

public int getValue()
Description copied from interface: INativeEnum
Returns the integer value of this enumeration value.

Specified by:
getValue in interface INativeEnum<MeshChunkID>

getEnum

public MeshChunkID getEnum(int val)
Description copied from interface: INativeEnum
Returns the enumeration value for the passed integer.

Specified by:
getEnum in interface INativeEnum<MeshChunkID>

toEnum

public static final MeshChunkID toEnum(int retval)


Copyright © 2007 netAllied GmbH. All Rights Reserved.