Class remaps the uvs of an Object3D for a given orientation:
projection strings = "front", "back", "top", "bottom", "left","right", "spherical" or "spherical2"
public static function project(orientation:String, object3d:Object3D, selection:Array = null):void
Applies the mapping to the Object3D object according to string orientation
Parameters
| orientation:String — orientation String. Defines the way the map will be projected onto the Object3D. orientation value can be: "front", "back", "top", "bottom", "left", "right", "spherical" or "spherical2"
|
|
| object3d:Object3D — object3d Object3d. The Object3D to remap.
|
|
| selection:Array (default = null ) — selection Array. An array of booleans that defines if vertexes must be considered for the bounds. Applicable only if Object3D is type Mesh.
|