- All Implemented Interfaces:
Serializable,Comparable<PxActorFlagEnum>,Constable
See also: PxActorFlags PxActor PxActor.setActorFlag() PxActor.getActorFlags()
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDisables scene gravity for this actorDisables simulation for the actor.Enables the sending of PxSimulationEventCallback::onWake() and PxSimulationEventCallback::onSleep() notify eventsEnable debug renderer for this actor -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic PxActorFlagEnumforValue(int value) static PxActorFlagEnumReturns the enum constant of this class with the specified name.static PxActorFlagEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
eVISUALIZATION
Enable debug renderer for this actorSee also: PxScene.getRenderBuffer() PxRenderBuffer PxVisualizationParameter
-
eDISABLE_GRAVITY
Disables scene gravity for this actor -
eSEND_SLEEP_NOTIFIES
Enables the sending of PxSimulationEventCallback::onWake() and PxSimulationEventCallback::onSleep() notify eventsSee also: PxSimulationEventCallback::onWake() PxSimulationEventCallback::onSleep()
-
eDISABLE_SIMULATION
Disables simulation for the actor.Note: This is only supported by PxRigidStatic and PxRigidDynamic actors and can be used to reduce the memory footprint when rigid actors are used for scene queries only.
Note: Setting this flag will remove all constraints attached to the actor from the scene.
Note: If this flag is set, the following calls are forbidden: \li PxRigidBody: setLinearVelocity(), setAngularVelocity(), addForce(), addTorque(), clearForce(), clearTorque(), setForceAndTorque() \li PxRigidDynamic: setKinematicTarget(), setWakeCounter(), wakeUp(), putToSleep()
\par Sleeping: Raising this flag will set all velocities and the wake counter to 0, clear all forces, clear the kinematic target, put the actor to sleep and wake up all touching actors from the previous frame.
-
-
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
-