From 3dfe2108cfab31ba3ee5527e217d0d8e99a51162 Mon Sep 17 00:00:00 2001 From: git perforce import user Date: Tue, 25 Oct 2016 12:29:14 -0600 Subject: Initial commit: PhysX 3.4.0 Update @ 21294896 APEX 1.4.0 Update @ 21275617 [CL 21300167] --- .../PhysXAPI/files/structPxActorFlag.html | 102 +++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 PhysX_3.4/Documentation/PhysXAPI/files/structPxActorFlag.html (limited to 'PhysX_3.4/Documentation/PhysXAPI/files/structPxActorFlag.html') diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/structPxActorFlag.html b/PhysX_3.4/Documentation/PhysXAPI/files/structPxActorFlag.html new file mode 100644 index 00000000..559b67ed --- /dev/null +++ b/PhysX_3.4/Documentation/PhysXAPI/files/structPxActorFlag.html @@ -0,0 +1,102 @@ + + + NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxActorFlag Struct Reference + + + + + + + +
+

PxActorFlag Struct Reference
+ +[Physics] +

Flags which control the behavior of an actor. +More... +

+#include <PxActor.h> +

+ +

+List of all members. + + + + +

Public Types

enum  Enum {
+  eVISUALIZATION = (1<<0), +
+  eDISABLE_GRAVITY = (1<<1), +
+  eSEND_SLEEP_NOTIFIES = (1<<2), +
+  eDISABLE_SIMULATION = (1<<3) +
+ }
+


Detailed Description

+Flags which control the behavior of an actor. +

+

See also:
PxActorFlags PxActor PxActor.setActorFlag() PxActor.getActorFlags()
+

Member Enumeration Documentation

+ +
+
+ + + + +
enum PxActorFlag::Enum
+
+
+ +

+

Enumerator:
+ + + + + +
eVISUALIZATION  +Enable debug renderer for this actor. +

+

See 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 events. +

+

See 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.

+Setting this flag will remove all constraints attached to the actor from the scene.

+If this flag is set, the following calls are forbidden:

    +
  • PxRigidBody: setLinearVelocity(), setAngularVelocity(), addForce(), addTorque(), clearForce(), clearTorque()
  • +
  • PxRigidDynamic: setKinematicTarget(), setWakeCounter(), wakeUp(), putToSleep()
  • +
+
+
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.
+
+
+ +
+

+


The documentation for this struct was generated from the following file: +
+ +

+Copyright © 2008-2016 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com + + -- cgit v1.2.3