ClippingGroup.html 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <base href="../../../" />
  6. <script src="page.js"></script>
  7. <link type="text/css" rel="stylesheet" href="page.css" />
  8. </head>
  9. <body>
  10. [page:Group] &rarr;
  11. <h1>[name]</h1>
  12. <p class="desc">
  13. A special version of the Group object that defines clipping planes for descendant objects.
  14. ClippingGroups can be nested, with clipping planes accumulating by type: intersection or union.
  15. </p>
  16. <p>Note: ClippingGroup is only supported with WebGPURenderer.</p>
  17. <h2>Constructor</h2>
  18. <h3>[name]( )</h3>
  19. <h2>Properties</h2>
  20. <p>See the base [page:Group] class for common properties.</p>
  21. <h3>[property:Boolean isClippingGroup]</h3>
  22. <p>Read-only flag to check if a given object is of type [name].</p>
  23. <h3>[property:Array clippingPlanes]</h3>
  24. <p>
  25. User-defined clipping planes specified as THREE.Plane objects in world
  26. space. These planes apply to the objects that are children of this ClippingGroup.
  27. Points in space whose signed distance to the plane is negative are clipped
  28. (not rendered). See the [example:webgpu_clipping webgpu / clipping] example. Default is `[]`.
  29. </p>
  30. <h3>[property:Boolean enabled]</h3>
  31. <p>Determines if the clipping planes defined by this object are applied. Default is `true`.</p>
  32. <h3>[property:Boolean clipIntersection]</h3>
  33. <p>
  34. Changes the behavior of clipping planes so that only their intersection is
  35. clipped, rather than their union. Default is `false`.
  36. </p>
  37. <h3>[property:Boolean clipShadows]</h3>
  38. <p>
  39. Defines whether to clip shadows according to the clipping planes specified
  40. by this ClippingGroup. Default is `false`.
  41. </p>
  42. <h2>Methods</h2>
  43. <p>See the base [page:Object3D] class for common methods.</p>
  44. <h2>Source</h2>
  45. <p>
  46. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  47. </p>
  48. </body>
  49. </html>
粤ICP备19079148号