Static variables

@:value("back")staticinlineread onlyBACK:String = "back"

@:value("bottom")staticinlineread onlyBOTTOM:String = "bottom"

@:value("cylindricalx")staticinlineread onlyCYLINDRICAL_X:String = "cylindricalx"

@:value("cylindricaly")staticinlineread onlyCYLINDRICAL_Y:String = "cylindricaly"

@:value("cylindricalz")staticinlineread onlyCYLINDRICAL_Z:String = "cylindricalz"

@:value("front")staticinlineread onlyFRONT:String = "front"

@:value("left")staticinlineread onlyLEFT:String = "left"

@:value("right")staticinlineread onlyRIGHT:String = "right"

@:value("spherical")staticinlineread onlySPHERICAL:String = "spherical"

@:value("top")staticinlineread onlyTOP:String = "top"

Static methods

staticproject(orientation:String, obj:ObjectContainer3D):Void

Class remaps the uv data of a mesh

Parameters:

orientation

String. Defines the projection direction and methods. Note: As we use triangles, cylindrical and spherical projections might require correction, as some faces, may have vertices pointing at other side of the map, causing some faces to be rendered as a whole reverted map.

obj

ObjectContainer3D. The ObjectContainer3D to remap.