Class CSG
Hierarchy
- CSG
Index
Constructors
constructor
Returns CSG
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 In PlaceSearch 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 In PlaceSearch playground for inverseInPlace
Inverses the CSG in place
Returns void
subtractSearch playground for subtract
subtract In PlaceSearch playground for subtractInPlace
Subtracts this CSG with another CSG in place
Parameters
csg: CSG
The CSG to subtract against this CSG
Returns void
to MeshSearch playground for toMesh
unionSearch playground for union
union In PlaceSearch 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