| Package | away3d.tools |
| Class | public class Explode |
| Inheritance | Explode Object |
Explode
Each faces can then be moved independently without influence for the surrounding faces.
| Property | Defined By | ||
|---|---|---|---|
| recenter : Boolean
if unicmeshes is true, defines if the unic meshes are recentered or not. | Explode | ||
| unicmeshes : Boolean
Defines if an isolated face becomes a unic Mesh objects or not. | Explode | ||
| Method | Defined By | ||
|---|---|---|---|
Explode(unicmeshes:Boolean = false, recenter:Boolean = false)
Class Explode corrects all the faces of an object3d with unic vertexes. | Explode | ||
Apply the explode code to a given object3D
| Explode | ||
| recenter | property |
recenter:Booleanif unicmeshes is true, defines if the unic meshes are recentered or not. Default = false;
public function get recenter():Boolean public function set recenter(value:Boolean):void| unicmeshes | property |
unicmeshes:BooleanDefines if an isolated face becomes a unic Mesh objects or not. Class default = false;
public function get unicmeshes():Boolean public function set unicmeshes(value:Boolean):void| Explode | () | Constructor |
public function Explode(unicmeshes:Boolean = false, recenter:Boolean = false)
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.
unicmeshes:Boolean (default = false) — [optional] Boolean. Defines if an isolated face becomes a unic Mesh objects or not. Default = false;
| |
recenter:Boolean (default = false) — [optional] Boolean. Defines if unicmeshes is true, if the unic meshes are recentered or not. Default = false;
|
| apply | () | method |
public function apply(object3d:Object3D):Object3DApply the explode code to a given object3D
Parameters
object3d:Object3D — Object3D. The target Object3d object.
|
Object3D — Object3D if unicmeshes, returns an ObjectContainer3D with all the unic meshes in it, or the original object3d affected by the explode code.
|