Static variables
Constructor
Variables
Methods
apply(mesh:Mesh, axis:Int, offset:String = CENTER, additionalOffset:Float = 0):Void
Mirror a Mesh along a given Axis.
Parameters:
mesh | the mesh to mirror. |
|---|---|
axis | the axis to mirror the mesh. |
offset | can be MIN_BOUND, MAX_BOUND or CENTER. |
additionalOffset | if MIN_BOUND or MAX_BOUND is selected as offset, this addional offset can be added. |
applyToContainer(ctr:ObjectContainer3D, axis:Int, offset:String = CENTER, additionalOffset:Float = 0):Void
Mirror a ObjectContainer3d, and all its children along a given Axis.
Parameters:
ctr | the ObjectContainer3d to mirror. |
|---|---|
axis | the axis to mirror the ObjectContainer3d. |
offset | can be MIN_BOUND, MAX_BOUND or CENTER. |
additionalOffset | if MIN_BOUND or MAX_BOUND is selected as offset, this addional offset can be added. |
getMirroredClone(mesh:Mesh, axis:Int, offset:String = CENTER, additionalOffset:Float = 0):Mesh
Clones a Mesh and mirrors the cloned mesh. returns the cloned (and mirrored) mesh.
Parameters:
mesh | the mesh to clone and mirror. |
|---|---|
axis | the axis to mirror the mesh. |
offset | can be MIN_BOUND, MAX_BOUND or CENTER. |
additionalOffset | if MIN_BOUND or MAX_BOUND is selected as offset, this addional offset can be added. |
getMirroredCloneContainer(ctr:ObjectContainer3D, axis:Int, offset:String = CENTER, additionalOffset:Float = 0):ObjectContainer3D
Clones a ObjectContainer3D and all its children and mirrors the cloned Objects. returns the cloned (and mirrored) ObjectContainer3D.
Parameters:
mesh | the ObjectContainer3D to clone and mirror. |
|---|---|
axis | the axis to mirror the ObjectContainer3D. |
offset | can be MIN_BOUND, MAX_BOUND or CENTER. |
additionalOffset | if MIN_BOUND or MAX_BOUND is selected as offset, this additional offset can be added. |