- All Implemented Interfaces:
Serializable,Comparable<PxConstraintFlagEnum>,Constable
constraint flags
Note: eBROKEN is a read only flag
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionupdates the constraint each framewhether the constraint is brokenwhether contacts should be generated between the objects this constraint constrainssuppress constraint preprocessing, intended for use with rowResponseThreshold.limits for drive strength are forces rather than impulsesenables extended limit ranges for angular limits (e.g., limit values > PxPi or < -PxPi)please do not raise this flag as it is for internal use onlyperform preprocessing for improved accuracy on D6 Slerp Drive (this flag will be removed in a future release when preprocessing is no longer required)whether this constraint should be visualized, if constraint visualization is turned on -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic PxConstraintFlagEnumforValue(int value) static PxConstraintFlagEnumReturns the enum constant of this class with the specified name.static PxConstraintFlagEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
eBROKEN
whether the constraint is broken -
eCOLLISION_ENABLED
whether contacts should be generated between the objects this constraint constrains -
eVISUALIZATION
whether this constraint should be visualized, if constraint visualization is turned on -
eDRIVE_LIMITS_ARE_FORCES
limits for drive strength are forces rather than impulses -
eIMPROVED_SLERP
perform preprocessing for improved accuracy on D6 Slerp Drive (this flag will be removed in a future release when preprocessing is no longer required) -
eDISABLE_PREPROCESSING
suppress constraint preprocessing, intended for use with rowResponseThreshold. May result in worse solver accuracy for ill-conditioned constraints. -
eENABLE_EXTENDED_LIMITS
enables extended limit ranges for angular limits (e.g., limit values > PxPi or < -PxPi) -
eGPU_COMPATIBLE
please do not raise this flag as it is for internal use only -
eALWAYS_UPDATE
updates the constraint each frame -
eDISABLE_CONSTRAINT
-
-
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
-