Package com.aspose.threed
Enum ReferenceMode
- java.lang.Object
-
- java.lang.Enum<ReferenceMode>
-
- com.aspose.threed.ReferenceMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ReferenceMode>
public enum ReferenceMode extends java.lang.Enum<ReferenceMode>
ReferenceMode
defines how mapping information is stored and referenced by.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIRECT
Data is directly referencedINDEX
Data is referenced by indexINDEX_TO_DIRECT
Data is referenced by index, then accessed by index inVertexElement
's data list.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReferenceMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ReferenceMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DIRECT
public static final ReferenceMode DIRECT
Data is directly referenced
-
INDEX
public static final ReferenceMode INDEX
Data is referenced by index
-
INDEX_TO_DIRECT
public static final ReferenceMode INDEX_TO_DIRECT
Data is referenced by index, then accessed by index inVertexElement
's data list.
-
-
Method Detail
-
values
public static ReferenceMode[] 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 (ReferenceMode c : ReferenceMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReferenceMode 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 namejava.lang.NullPointerException
- if the argument is null
-
-