CSG class
Constructors
- CSG.new()
-
CSG.fromJSON(Map<
String, dynamic> json) -
factory
Properties
Methods
-
clone(
) → CSG -
intersect(
CSG csg) → CSG -
inverse(
) → CSG -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
subtract(
CSG csg) → CSG -
toPolygons(
) → List -
toString(
) → String -
A string representation of this object.
inherited
-
union(
CSG csg) → CSG
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromGeometry(
BufferGeometry geometry) → CSG -
fromGeometryOld(
BufferGeometry geom, [int? objectIndex]) → CSG -
fromMesh(
Mesh mesh) → CSG -
fromMeshOld(
Mesh mesh, [int? objectIndex]) → CSG -
fromPolygons(
List< Polygon> polygons) → CSG -
intersectMesh(
Mesh meshA, Mesh meshB) → Mesh -
subtractMesh(
Mesh meshA, Mesh meshB) → Mesh -
toGeometry(
CSG csg, Matrix4 toMatrix) → BufferGeometry -
toMesh(
CSG csg, Matrix4 toMatrix, [Material? toMaterial]) → Mesh -
toMesh2(
CSG csg, Matrix4 toMatrix, Material? toMaterial) → Mesh -
unionMesh(
Mesh meshA, Mesh meshB) → Mesh