- All Implemented Interfaces:
Serializable,Comparable<PxMeshPreprocessingFlagEnum>,Constable
Enum for the set of mesh pre-processing parameters.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWhen set, active edges are not computed and just enabled for all edges.When set, mesh cleaning is disabled.When set, 32-bit indices will always be created regardless of triangle count.When set, mesh welding is performed. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic PxMeshPreprocessingFlagEnumforValue(int value) static PxMeshPreprocessingFlagEnumReturns the enum constant of this class with the specified name.static PxMeshPreprocessingFlagEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
eWELD_VERTICES
When set, mesh welding is performed. See PxCookingParams::meshWeldTolerance. Mesh cleaning must be enabled. -
eDISABLE_CLEAN_MESH
When set, mesh cleaning is disabled. This makes cooking faster.When mesh cleaning is disabled, mesh welding is also disabled.
It is recommended to use only meshes that passed during validateTriangleMesh.
-
eDISABLE_ACTIVE_EDGES_PRECOMPUTE
When set, active edges are not computed and just enabled for all edges. This makes cooking faster but contact generation slower. -
eFORCE_32BIT_INDICES
When set, 32-bit indices will always be created regardless of triangle count.Note: By default mesh will be created with 16-bit indices for triangle count <= 0xFFFF and 32-bit otherwise.
-
-
Field Details
-
value
public final int value
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forValue
-