-
-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs:: Add documentation for ClippingGroup. (#1401)
* Docs:: Add documentation for ClippingGroup. * Update three.js * Add src * Update patch and delete src * Update declarations
- Loading branch information
1 parent
f384d41
commit 584a5f3
Showing
9 changed files
with
75 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule three.js
updated
25 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import { Plane } from "../math/Plane.js"; | ||
import { Group } from "./Group.js"; | ||
|
||
/** | ||
* A special version of the Group object that defines clipping planes for decendant objects. ClippingGroups can be | ||
* nested, with clipping planes accumulating by type: intersection or union. | ||
*/ | ||
declare class ClippingGroup extends Group { | ||
/** | ||
* Read-only flag to check if a given object is of type ClippingGroup. | ||
*/ | ||
readonly isClippingGroup: true; | ||
|
||
/** | ||
* User-defined clipping planes specified as THREE.Plane objects in world space. These planes apply to the objects | ||
* that are children of this ClippingGroup. Points in space whose signed distance to the plane is negative are | ||
* clipped (not rendered). See the webgpu_clipping example. Default is `[]`. | ||
*/ | ||
clippingPlanes: Plane[]; | ||
|
||
/** | ||
* Determines if the clipping planes defined by this object are applied. Default is `true`. | ||
*/ | ||
enabled: boolean; | ||
|
||
/** | ||
* Changes the behavior of clipping planes so that only their intersection is clipped, rather than their union. | ||
* Default is `false`. | ||
*/ | ||
clipIntersection: boolean; | ||
|
||
/** | ||
* Defines whether to clip shadows according to the clipping planes specified by this ClippingGroup. Default is | ||
* `false`. | ||
*/ | ||
clipShadows: boolean; | ||
|
||
constructor(); | ||
} | ||
|
||
export { ClippingGroup }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.