Package com.aspose.threed
Enum DracoCompressionLevel
- java.lang.Object
-
- java.lang.Enum<DracoCompressionLevel>
-
- com.aspose.threed.DracoCompressionLevel
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DracoCompressionLevel>
public enum DracoCompressionLevel extends java.lang.Enum<DracoCompressionLevel>
Compression level for draco file
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAST
Encoder will perform a compression as quickly as possible.NO_COMPRESSION
No compression, this will result in the minimum encoding time.OPTIMAL
Encoder will compress the scene optimally, which may takes longer time to finish.STANDARD
Standard mode, with good compression and speed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DracoCompressionLevel
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DracoCompressionLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_COMPRESSION
public static final DracoCompressionLevel NO_COMPRESSION
No compression, this will result in the minimum encoding time.
-
FAST
public static final DracoCompressionLevel FAST
Encoder will perform a compression as quickly as possible.
-
STANDARD
public static final DracoCompressionLevel STANDARD
Standard mode, with good compression and speed.
-
OPTIMAL
public static final DracoCompressionLevel OPTIMAL
Encoder will compress the scene optimally, which may takes longer time to finish.
-
-
Method Detail
-
values
public static DracoCompressionLevel[] 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 (DracoCompressionLevel c : DracoCompressionLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DracoCompressionLevel 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
-
-