Class CSG
Hierarchy
- CSG
Index
Properties
matrixSearch playground for matrix
The world matrix
positionSearch playground for position
Stores the position
rotationSearch playground for rotation
Stores the rotation
rotation QuaternionSearch playground for rotationQuaternion
Stores the rotation quaternion
scalingSearch playground for scaling
Stores the scaling vector
Methods
build Mesh GeometrySearch playground for buildMeshGeometry
cloneSearch playground for clone
-
Clones, or makes a deep copy, of the CSG
Returns CSG
A new CSG
copy Transform AttributesSearch playground for copyTransformAttributes
intersectSearch playground for intersect
intersect InPlaceSearch playground for intersectInPlace
-
Intersects this CSG with another CSG in place
Parameters
-
csg: CSG
The CSG to intersect against this CSG
Returns void
-
inverseSearch playground for inverse
-
Return a new CSG solid with solid and empty space switched. This solid is not modified.
Returns CSG
A new CSG solid with solid and empty space switched
inverse InPlaceSearch playground for inverseInPlace
-
Inverses the CSG in place
Returns void
subtractSearch playground for subtract
subtract InPlaceSearch playground for subtractInPlace
-
Subtracts this CSG with another CSG in place
Parameters
-
csg: CSG
The CSG to subtact against this CSG
Returns void
-
to MeshSearch playground for toMesh
unionSearch playground for union
union InPlaceSearch playground for unionInPlace
-
Unions this CSG with another CSG in place
Parameters
-
csg: CSG
The CSG to union against this CSG
Returns void
-
Class for building Constructive Solid Geometry