1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
<html>
<head>
<title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxActorFlag Struct Reference</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<LINK HREF="NVIDIA.css" REL="stylesheet" TYPE="text/css">
</head>
<body bgcolor="#FFFFFF">
<div id="header">
<hr class="first">
<img alt="" src="images/PhysXlogo.png" align="middle"> <br>
<center>
<a class="qindex" href="main.html">Main Page</a>
<a class="qindex" href="hierarchy.html">Class Hierarchy</a>
<a class="qindex" href="annotated.html">Compound List</a>
<a class="qindex" href="functions.html">Compound Members</a>
</center>
<hr class="second">
</div>
<!-- Generated by Doxygen 1.5.8 -->
<div class="contents">
<h1>PxActorFlag Struct Reference<br>
<small>
[<a class="el" href="group__physics.html">Physics</a>]</small>
</h1><!-- doxytag: class="PxActorFlag" -->Flags which control the behavior of an actor.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="PxActor_8h-source.html">PxActor.h</a>></code>
<p>
<p>
<a href="structPxActorFlag-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxActorFlag.html#1bc4c717e79cd547bdbe09a179ee9f1d">Enum</a> { <br>
<a class="el" href="structPxActorFlag.html#1bc4c717e79cd547bdbe09a179ee9f1d03bcf1cfcfcf30af05daa888272e0477">eVISUALIZATION</a> = (1<<0),
<br>
<a class="el" href="structPxActorFlag.html#1bc4c717e79cd547bdbe09a179ee9f1dde3ad01f704658641aa8a12d9064db0b">eDISABLE_GRAVITY</a> = (1<<1),
<br>
<a class="el" href="structPxActorFlag.html#1bc4c717e79cd547bdbe09a179ee9f1dbb3746f101908fd2ae5112e5d69a0999">eSEND_SLEEP_NOTIFIES</a> = (1<<2),
<br>
<a class="el" href="structPxActorFlag.html#1bc4c717e79cd547bdbe09a179ee9f1d0838a5b8c88cebfa5d53904bb3b97411">eDISABLE_SIMULATION</a> = (1<<3)
<br>
}</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Flags which control the behavior of an actor.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="group__physics.html#g468ad85db838378f0c58cfd02a96949b" title="collection of set bits defined in PxActorFlag.">PxActorFlags</a> <a class="el" href="classPxActor.html" title="PxActor is the base class for the main simulation objects in the physics SDK.">PxActor</a> <a class="el" href="classPxActor.html#e24ff3f3ed0cb2a138b382fd0720b94f" title="Raises or clears a particular actor flag.">PxActor.setActorFlag()</a> <a class="el" href="classPxActor.html#fb92fb228de76bbcd42210d060b558d1" title="Reads the PxActor flags.">PxActor.getActorFlags()</a> </dd></dl>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="1bc4c717e79cd547bdbe09a179ee9f1d"></a><!-- doxytag: member="PxActorFlag::Enum" ref="1bc4c717e79cd547bdbe09a179ee9f1d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="structPxActorFlag.html#1bc4c717e79cd547bdbe09a179ee9f1d">PxActorFlag::Enum</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="1bc4c717e79cd547bdbe09a179ee9f1d03bcf1cfcfcf30af05daa888272e0477"></a><!-- doxytag: member="eVISUALIZATION" ref="1bc4c717e79cd547bdbe09a179ee9f1d03bcf1cfcfcf30af05daa888272e0477" args="" -->eVISUALIZATION</em> </td><td>
Enable debug renderer for this actor.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxScene.html#35f231796a325fcf587e681831c5fcb5" title="Retrieves the render buffer.">PxScene.getRenderBuffer()</a> <a class="el" href="classPxRenderBuffer.html" title="Interface for points, lines, triangles, and text buffer.">PxRenderBuffer</a> <a class="el" href="structPxVisualizationParameter.html" title="Debug visualization parameters.">PxVisualizationParameter</a> </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="1bc4c717e79cd547bdbe09a179ee9f1dde3ad01f704658641aa8a12d9064db0b"></a><!-- doxytag: member="eDISABLE_GRAVITY" ref="1bc4c717e79cd547bdbe09a179ee9f1dde3ad01f704658641aa8a12d9064db0b" args="" -->eDISABLE_GRAVITY</em> </td><td>
Disables scene gravity for this actor. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="1bc4c717e79cd547bdbe09a179ee9f1dbb3746f101908fd2ae5112e5d69a0999"></a><!-- doxytag: member="eSEND_SLEEP_NOTIFIES" ref="1bc4c717e79cd547bdbe09a179ee9f1dbb3746f101908fd2ae5112e5d69a0999" args="" -->eSEND_SLEEP_NOTIFIES</em> </td><td>
Enables the sending of <a class="el" href="classPxSimulationEventCallback.html#37e6f45b530cfb8536bc2ff14f38e2fe" title="This is called with the actors which have just been woken up.">PxSimulationEventCallback::onWake()</a> and <a class="el" href="classPxSimulationEventCallback.html#614256e6c2570e24cf45e974d6087d38" title="This is called with the actors which have just been put to sleep.">PxSimulationEventCallback::onSleep()</a> notify events.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxSimulationEventCallback.html#37e6f45b530cfb8536bc2ff14f38e2fe" title="This is called with the actors which have just been woken up.">PxSimulationEventCallback::onWake()</a> <a class="el" href="classPxSimulationEventCallback.html#614256e6c2570e24cf45e974d6087d38" title="This is called with the actors which have just been put to sleep.">PxSimulationEventCallback::onSleep()</a> </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="1bc4c717e79cd547bdbe09a179ee9f1d0838a5b8c88cebfa5d53904bb3b97411"></a><!-- doxytag: member="eDISABLE_SIMULATION" ref="1bc4c717e79cd547bdbe09a179ee9f1d0838a5b8c88cebfa5d53904bb3b97411" args="" -->eDISABLE_SIMULATION</em> </td><td>
Disables simulation for the actor.
<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>This is only supported by <a class="el" href="classPxRigidStatic.html" title="PxRigidStatic represents a static rigid body simulation object in the physics SDK...">PxRigidStatic</a> and <a class="el" href="classPxRigidDynamic.html" title="PxRigidDynamic represents a dynamic rigid simulation object in the physics SDK.">PxRigidDynamic</a> actors and can be used to reduce the memory footprint when rigid actors are used for scene queries only.<p>
Setting this flag will remove all constraints attached to the actor from the scene.<p>
If this flag is set, the following calls are forbidden: <ul>
<li><a class="el" href="classPxRigidBody.html" title="PxRigidBody is a base class shared between dynamic rigid body objects.">PxRigidBody</a>: setLinearVelocity(), setAngularVelocity(), addForce(), addTorque(), clearForce(), clearTorque() </li>
<li><a class="el" href="classPxRigidDynamic.html" title="PxRigidDynamic represents a dynamic rigid simulation object in the physics SDK.">PxRigidDynamic</a>: setKinematicTarget(), setWakeCounter(), wakeUp(), putToSleep()</li>
</ul>
</dd></dl>
<dl class="user" compact><dt><b>Sleeping:</b></dt><dd>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. </dd></dl>
</td></tr>
</table>
</dl>
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="PxActor_8h-source.html">PxActor.h</a></ul>
</div>
<hr style="width: 100%; height: 2px;"><br>
Copyright © 2008-2018 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a>
</body>
</html>
|