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] --- .../files/classPxParticleFluidReadData.html | 117 +++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 PhysX_3.4/Documentation/PhysXAPI/files/classPxParticleFluidReadData.html (limited to 'PhysX_3.4/Documentation/PhysXAPI/files/classPxParticleFluidReadData.html') diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/classPxParticleFluidReadData.html b/PhysX_3.4/Documentation/PhysXAPI/files/classPxParticleFluidReadData.html new file mode 100644 index 00000000..3dc8b369 --- /dev/null +++ b/PhysX_3.4/Documentation/PhysXAPI/files/classPxParticleFluidReadData.html @@ -0,0 +1,117 @@ + + + NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxParticleFluidReadData Class Reference + + + + + + + +
+

PxParticleFluidReadData Class Reference
+ +[particles (deprecated)] +

Data layout descriptor for reading fluid particle data from the SDK. (deprecated). +More... +

+#include <PxParticleFluidReadData.h> +

+

+Inheritance diagram for PxParticleFluidReadData:
+
+

Inheritance graph
+ +PxParticleReadDataPxLockedData +
[legend]
+
+Collaboration diagram for PxParticleFluidReadData:
+
+

Collaboration graph
+ +PxParticleReadDataPxLockedDataPxStrideIterator\< const PxF32 \>PxStrideIterator\< const PxParticleFlags \>PxStrideIterator\< const PxVec3 \>PxVec3 +
[legend]
+ +

+List of all members. + + + + + + + + + +

Public Member Functions

virtual ~PxParticleFluidReadData ()
 virtual destructor

Public Attributes

PxStrideIterator< const PxF32 > densityBuffer
 Particle density data.
+


Detailed Description

+Data layout descriptor for reading fluid particle data from the SDK. (deprecated). +

+Additionally to PxParticleReadData, the density can be read from the SDK.

+

Deprecated:
The PhysX particle feature has been deprecated in PhysX version 3.4
+
See also:
PxParticleReadData PxParticleFluid.lockParticleFluidReadData()
+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
virtual PxParticleFluidReadData::~PxParticleFluidReadData (  )  [inline, virtual]
+
+
+ +

+virtual destructor +

+ +

+

+


Member Data Documentation

+ +
+ +
+ +

+Particle density data. +

+The density depends on how close particles are to each other. The density values are normalized such that:

    +
  1. +Particles which have no neighbors (no particles closer than restParticleDistance * 2) will have a density of zero.
  2. +
  3. +Particles which are at rest density (distances corresponding to restParticleDistance in the mean) will have a density of one.
  4. +
+

+The density buffer is only guaranteed to be valid after the particle fluid has been simulated. Otherwise densityBuffer.ptr() is NULL. This also applies to particle fluids that are not assigned to a scene. +

+

+


The documentation for this class 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