CLASSES
TagsA - Z

CSG

Description

class CSG

Members

matrix : Matrix

position : Vector3

rotation : Vector3

rotationQuaternion : Nullable<Quaternion>

scaling : Vector3

Methods

static FromMesh(mesh) CSG

Parameters

Name Type Description
mesh Mesh

clone() CSG

union(csg) CSG

Parameters

Name Type Description
csg CSG

unionInPlace(csg) void

Parameters

Name Type Description
csg CSG

subtract(csg) CSG

Parameters

Name Type Description
csg CSG

subtractInPlace(csg) void

Parameters

Name Type Description
csg CSG

intersect(csg) CSG

Parameters

Name Type Description
csg CSG

intersectInPlace(csg) void

Parameters

Name Type Description
csg CSG

inverse() CSG

inverseInPlace() void

copyTransformAttributes(csg) CSG

Parameters

Name Type Description
csg CSG

buildMeshGeometry(name, scene, keepSubMeshes) Mesh

Parameters

Name Type Description
name string
scene Scene
keepSubMeshes boolean

toMesh(name, material, scene, keepSubMeshes) Mesh

Parameters

Name Type Description
name string
material Material
scene Scene