diff options
| author | sschirm <[email protected]> | 2017-02-27 16:40:12 +0100 |
|---|---|---|
| committer | sschirm <[email protected]> | 2017-03-01 18:04:26 +0100 |
| commit | 7840347c32755e94a807f978f1cbb558717ac8cf (patch) | |
| tree | 295cd3ca93a45f8fcc43cf3cbf3887c0e0c5526b /PhysX_3.4/Documentation/PhysXAPI/files/structPxCookingParams.html | |
| parent | Pre-release comments marking end of beta. (diff) | |
| download | physx-3.4-7840347c32755e94a807f978f1cbb558717ac8cf.tar.xz physx-3.4-7840347c32755e94a807f978f1cbb558717ac8cf.zip | |
PhysX 3.4, APEX 1.4 final release @21757769v3.4.0-rc-2
Diffstat (limited to 'PhysX_3.4/Documentation/PhysXAPI/files/structPxCookingParams.html')
| -rw-r--r-- | PhysX_3.4/Documentation/PhysXAPI/files/structPxCookingParams.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/structPxCookingParams.html b/PhysX_3.4/Documentation/PhysXAPI/files/structPxCookingParams.html index 946c58e9..0e858230 100644 --- a/PhysX_3.4/Documentation/PhysXAPI/files/structPxCookingParams.html +++ b/PhysX_3.4/Documentation/PhysXAPI/files/structPxCookingParams.html @@ -51,6 +51,9 @@ Collaboration diagram for PxCookingParams:</div> <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxCookingParams.html#ec2fbb426b8c0bb2daee1e31b8e2adc2">areaTestEpsilon</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Zero-size area epsilon used in convex hull computation. <a href="#ec2fbb426b8c0bb2daee1e31b8e2adc2"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxCookingParams.html#45e4d60211cdd58d80a10dad39da64c9">planeTolerance</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Plane tolerance used in convex hull computation. <a href="#45e4d60211cdd58d80a10dad39da64c9"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structPxConvexMeshCookingType.html#5a2ae723aca74c185675cd7ba2c9c115">PxConvexMeshCookingType::Enum</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxCookingParams.html#fbc71c4ade3b80715855125413d58f97">convexMeshCookingType</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convex hull creation algorithm. <a href="#fbc71c4ade3b80715855125413d58f97"></a><br></td></tr> @@ -298,6 +301,28 @@ Controls the desired midphase desc structure for triangle meshes. <b>Default value:</b> <a class="el" href="structPxMeshMidPhase.html#49f740883fbfb1a49631c28818c219f44d8e09539bc0a01c8ffd1b8bae24cbf1" title="Invalid mesh midphase.">PxMeshMidPhase::eINVALID</a> </div> </div><p> +<a class="anchor" name="45e4d60211cdd58d80a10dad39da64c9"></a><!-- doxytag: member="PxCookingParams::planeTolerance" ref="45e4d60211cdd58d80a10dad39da64c9" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">float <a class="el" href="structPxCookingParams.html#45e4d60211cdd58d80a10dad39da64c9">PxCookingParams::planeTolerance</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Plane tolerance used in convex hull computation. +<p> +The value is used during hull construction. When a new point is about to be added to the hull it gets dropped when the point is closer to the hull than the planeTolerance. The planeTolerance is increased according to the hull size.<p> +If 0.0f is set all points are accepted when the convex hull is created. This may lead to edge cases where the new points may be merged into an existing polygon and the polygons plane equation might slightly change therefore. This might lead to failures during polygon merging phase in the hull computation.<p> +It is recommended to use the default value, however if it is required that all points needs to be accepted or huge thin convexes are created, it might be required to lower the default value.<p> +<dl class="note" compact><dt><b>Note:</b></dt><dd>The plane tolerance is used only within <a class="el" href="structPxConvexMeshCookingType.html#5a2ae723aca74c185675cd7ba2c9c11518916173251aae02128c79b69af46906" title="The Quickhull algorithm constructs the hull from the given input points. The resulting...">PxConvexMeshCookingType::eQUICKHULL</a> algorithm.</dd></dl> +<b>Default value:</b> 0.0007f<p> +<b>Range:</b> <0.0f, PX_MAX_F32) +</div> +</div><p> <a class="anchor" name="6a51be76bb79ac1dd9a2788f54569c60"></a><!-- doxytag: member="PxCookingParams::scale" ref="6a51be76bb79ac1dd9a2788f54569c60" args="" --> <div class="memitem"> <div class="memproto"> |