Packageaway3d.materials.utils
Classpublic class Projector

Class remaps the uvs of an Object3D for a given orientation: orientation = "front", "back", "top", "bottom", "left" and "right"

Public Methods
 MethodDefined by
  
project(orientation:String, object3d:Object3D):void
[static] Applies the mapping to the Object3D object according to string orientation
Projector
Method detail
project()method
public static function project(orientation:String, object3d:Object3D):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" and "right"
 
object3d:Object3D — object3d Object3d. The Object3D to remap.
Wiki link
Click to go to the wiki page for 'away3d.materials.utils.Projector'

Code examples

Comments