|
| 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] → |
| 11 | + |
| 12 | + <h1>[name]</h1> |
| 13 | + |
| 14 | + <p class="desc"> |
| 15 | + A special version of the Group object that defines clipping planes for decendant objects. |
| 16 | + ClippingGroups can be nested, with clipping planes accumulating by type: intersection or union. |
| 17 | + </p> |
| 18 | + |
| 19 | + <p>Note: ClippingGroup is only supported with WebGPURenderer.</p> |
| 20 | + |
| 21 | + <h2>Constructor</h2> |
| 22 | + |
| 23 | + <h3>[name]( )</h3> |
| 24 | + |
| 25 | + <h2>Properties</h2> |
| 26 | + <p>See the base [page:Group] class for common properties.</p> |
| 27 | + |
| 28 | + <h3>[property:Boolean isClippingGroup]</h3> |
| 29 | + <p>Read-only flag to check if a given object is of type [name].</p> |
| 30 | + |
| 31 | + <h3>[property:Array clippingPlanes]</h3> |
| 32 | + <p> |
| 33 | + User-defined clipping planes specified as THREE.Plane objects in world |
| 34 | + space. These planes apply to the objects that are children of this ClippingGroup. |
| 35 | + Points in space whose signed distance to the plane is negative are clipped |
| 36 | + (not rendered). See the [example:webgpu_clipping webgpu / clipping] example. Default is `[]`. |
| 37 | + </p> |
| 38 | + |
| 39 | + <h3>[property:Boolean enabled]</h3> |
| 40 | + <p>Determines if the clipping planes defined by this object are applied. Default is `true`.</p> |
| 41 | + |
| 42 | + <h3>[property:Boolean clipIntersection]</h3> |
| 43 | + <p> |
| 44 | + Changes the behavior of clipping planes so that only their intersection is |
| 45 | + clipped, rather than their union. Default is `false`. |
| 46 | + </p> |
| 47 | + |
| 48 | + <h3>[property:Boolean clipShadows]</h3> |
| 49 | + <p> |
| 50 | + Defines whether to clip shadows according to the clipping planes specified |
| 51 | + by this ClippingGroup. Default is `false`. |
| 52 | + </p> |
| 53 | + |
| 54 | + <h2>Methods</h2> |
| 55 | + <p>See the base [page:Object3D] class for common methods.</p> |
| 56 | + |
| 57 | + <h2>Source</h2> |
| 58 | + <p> |
| 59 | + [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js] |
| 60 | + </p> |
| 61 | + </body> |
| 62 | +</html> |
0 commit comments