Class Explode corrects all the faces of an object3d with unic vertexes.
Explode
Each faces can then be moved independently without influence for the surrounding faces.
recenter:Boolean
[read-write]Implementation
public function get recenter():Boolean
public function set recenter(value:Boolean):void
unicmeshes:Boolean
[read-write]Implementation
public function get unicmeshes():Boolean
public function set unicmeshes(value:Boolean):void
public function Explode(unicmeshes:Boolean = false, recenter:Boolean = false)
Parameters
| unicmeshes:Boolean (default = false ) — unicmeshes [optional] Boolean. Defines if an isolated face becomes a unic Mesh objects or not. Default = false;
|
|
| recenter:Boolean (default = false ) — recenter [optional] Boolean. Defines if unicmeshes is true, if the unic meshes are recentered or not. Default = false;
|
Init Parameters
public function apply(object3d:Object3D):Object3D
Apply the explode code to a given object3D
Parameters
| object3d:Object3D — object3d Object3D. The target Object3d object.
|
Returns
| Object3D —
Object3D if unicmeshes, returns an ObjectContainer3D with all the unic meshes in it, or the original object3d affected by the explode code.
|