- Preparing search index...
- The search index is not available
gypsum-mesh
Type alias CSGGeometricOperation<MeshType>
CSGGeometric
Operation
<MeshType>: { operation
: "add" | "union" | "subtract" | "difference" | "intersect" | "intersection"; } & ({ left
: CSGTree<MeshType> | MeshType; right
: CSGTree<MeshType> | MeshType; } | { manifolds
: (CSGTree<MeshType> | MeshType)[]; }) | { manifold
: CSGTree<MeshType> | MeshType; } & ({ offset
: Vec3; operation
: "translate"; } | { degrees
: Vec3; operation
: "rotate"; } | { factor
: Vec3 | number; operation
: "scale"; } | { matrix
: Mat4; operation
: "transform"; } | { operation
: "refine"; splits
: number; } | { operation
: "asOriginal"; }) | { crossSection
: Polygons; height
: number; nDivisions
?: number; operation
: "extrude"; scaleTop
?: Vec2; twistDegrees
?: number; } | { circularSegments
?: number; crossSection
: Polygons; operation
: "revolve"; }
A CSG operation in a CSG operation tree that returns a manifold, and therefore can be chained.