Package | twaver.threed.util |
Class | public class Consts3D |
Inheritance | Consts3D ![]() |
Constant | Defined By | ||
---|---|---|---|
EFFECT_TYPE_FRAMEWORK : String = framework [static]
When a 3D object is selected, the framework of the object will be displayed. | Consts3D | ||
EFFECT_TYPE_NONE : String = none [static]
When a 3D object is selected, no visual effect will be displayed. | Consts3D | ||
EFFECT_TYPE_SCALE : String = scale [static]
When a 3D object is selected, the object will become bigger or smaller. | Consts3D | ||
EXTERNAL_MODEL_TYPE_3DS : String = 3ds [static]
States the model file format is 3DS. | Consts3D | ||
EXTERNAL_MODEL_TYPE_DAE : String = dae [static]
States the model file format is dae. | Consts3D | ||
EXTERNAL_MODEL_TYPE_MD2 : String = md2 [static]
States the model file format is md2. | Consts3D | ||
EXTERNAL_MODEL_TYPE_OBJ : String = obj [static]
States the model file format is obj. | Consts3D | ||
MAPPINGTYPE_COLOR : String = color [static]
Stands for color materials. | Consts3D | ||
MAPPINGTYPE_COMMON : String = common [static]
Stands for texture materials. | Consts3D | ||
MAPPINGTYPE_MAP6 : String = map6 [static]
Stands for the MAP6 texture material. | Consts3D | ||
PLANE_XY : String = xy [static]
Stands for x-y plane. | Consts3D | ||
PLANE_XZ : String = xz [static]
Stands for x-z plane. | Consts3D | ||
PLANE_ZY : String = zy [static]
Stands for z-y plane. | Consts3D | ||
SMOOTH_LEVEL_COMMON : String = common [static]
The visual effect of a 3D object is common. | Consts3D | ||
SMOOTH_LEVEL_GREAT : String = great [static]
The visual effect of a 3D object is great. | Consts3D | ||
SMOOTH_LEVEL_MIDDLE : String = middle [static]
The visual effect of a 3D object is good. | Consts3D | ||
THREED_SHAPE_TYPE_BILLBOARD : String = billboard [static]
Stands for a billboard which can be used to show some information or text in the 3D scene. | Consts3D | ||
THREED_SHAPE_TYPE_BOXSCENE : String = boxscene [static]
Stands for a huge box which can be used to display a panorama. | Consts3D | ||
THREED_SHAPE_TYPE_COMPLEXCUBE : String = coplexcube [static]
Stands for a cube which can be assigned different material for each face. | Consts3D | ||
THREED_SHAPE_TYPE_CONE : String = cone [static]
Stands for a cone. | Consts3D | ||
THREED_SHAPE_TYPE_CUBE : String = cube [static]
Stands for a cube. | Consts3D | ||
THREED_SHAPE_TYPE_CYLINDER : String = cylinder [static]
Stands for a cylinder. | Consts3D | ||
THREED_SHAPE_TYPE_EXTERNALMODEL : String = externalmodel [static]
Means that the 3D object is described by an external model file. | Consts3D | ||
THREED_SHAPE_TYPE_LATHEEXTRUSION : String = latheextrusion [static]
Stands for the lathe extrusion object. | Consts3D | ||
THREED_SHAPE_TYPE_LINE : String = line [static]
Stands for a line. | Consts3D | ||
THREED_SHAPE_TYPE_LINEAREXTRUSION : String = linearextrusion [static]
Stands for the linear extrusion object. | Consts3D | ||
THREED_SHAPE_TYPE_PLANE : String = plane [static]
Stands for a plane. | Consts3D | ||
THREED_SHAPE_TYPE_SPHERE : String = sphere [static]
Stands for a sphere. | Consts3D | ||
THREED_SHAPE_TYPE_TERRAIN : String = terrian [static]
Stands for a terrain object. | Consts3D | ||
X_AXIS : String = x [static]
Stands for x axis. | Consts3D | ||
Y_AXIS : String = y [static]
Stands for y axis. | Consts3D | ||
Z_AXIS : String = z [static]
Stands for z axis. | Consts3D | ||
ZERO_VECTOR : Vector3D [static]
Zero vector. | Consts3D |
EFFECT_TYPE_FRAMEWORK | Constant |
public static const EFFECT_TYPE_FRAMEWORK:String = framework
When a 3D object is selected, the framework of the object will be displayed.
EFFECT_TYPE_NONE | Constant |
public static const EFFECT_TYPE_NONE:String = none
When a 3D object is selected, no visual effect will be displayed.
EFFECT_TYPE_SCALE | Constant |
public static const EFFECT_TYPE_SCALE:String = scale
When a 3D object is selected, the object will become bigger or smaller. Defult: bigger.
EXTERNAL_MODEL_TYPE_3DS | Constant |
public static const EXTERNAL_MODEL_TYPE_3DS:String = 3ds
States the model file format is 3DS.
EXTERNAL_MODEL_TYPE_DAE | Constant |
public static const EXTERNAL_MODEL_TYPE_DAE:String = dae
States the model file format is dae.
EXTERNAL_MODEL_TYPE_MD2 | Constant |
public static const EXTERNAL_MODEL_TYPE_MD2:String = md2
States the model file format is md2.
EXTERNAL_MODEL_TYPE_OBJ | Constant |
public static const EXTERNAL_MODEL_TYPE_OBJ:String = obj
States the model file format is obj.
MAPPINGTYPE_COLOR | Constant |
public static const MAPPINGTYPE_COLOR:String = color
Stands for color materials.
MAPPINGTYPE_COMMON | Constant |
public static const MAPPINGTYPE_COMMON:String = common
Stands for texture materials.
MAPPINGTYPE_MAP6 | Constant |
public static const MAPPINGTYPE_MAP6:String = map6
Stands for the MAP6 texture material. Developers can wrap a cube object with only one image. The width and height should be power of 2 and cannot exceed 2048. The content of the image should be layed out as below, with 3 columns and 2 rows.
_______________________________________________ | | | | | LEFT | FRONT | RIGHT | |______________|_______________|______________| | | | | | BACK | TOP | BOTTOM | |______________|_______________|______________|
PLANE_XY | Constant |
public static const PLANE_XY:String = xy
Stands for x-y plane.
PLANE_XZ | Constant |
public static const PLANE_XZ:String = xz
Stands for x-z plane.
PLANE_ZY | Constant |
public static const PLANE_ZY:String = zy
Stands for z-y plane.
SMOOTH_LEVEL_COMMON | Constant |
public static const SMOOTH_LEVEL_COMMON:String = common
The visual effect of a 3D object is common.
SMOOTH_LEVEL_GREAT | Constant |
public static const SMOOTH_LEVEL_GREAT:String = great
The visual effect of a 3D object is great.
SMOOTH_LEVEL_MIDDLE | Constant |
public static const SMOOTH_LEVEL_MIDDLE:String = middle
The visual effect of a 3D object is good.
THREED_SHAPE_TYPE_BILLBOARD | Constant |
public static const THREED_SHAPE_TYPE_BILLBOARD:String = billboard
Stands for a billboard which can be used to show some information or text in the 3D scene.
THREED_SHAPE_TYPE_BOXSCENE | Constant |
public static const THREED_SHAPE_TYPE_BOXSCENE:String = boxscene
Stands for a huge box which can be used to display a panorama.
THREED_SHAPE_TYPE_COMPLEXCUBE | Constant |
public static const THREED_SHAPE_TYPE_COMPLEXCUBE:String = coplexcube
Stands for a cube which can be assigned different material for each face.
THREED_SHAPE_TYPE_CONE | Constant |
public static const THREED_SHAPE_TYPE_CONE:String = cone
Stands for a cone.
THREED_SHAPE_TYPE_CUBE | Constant |
public static const THREED_SHAPE_TYPE_CUBE:String = cube
Stands for a cube.
THREED_SHAPE_TYPE_CYLINDER | Constant |
public static const THREED_SHAPE_TYPE_CYLINDER:String = cylinder
Stands for a cylinder.
THREED_SHAPE_TYPE_EXTERNALMODEL | Constant |
public static const THREED_SHAPE_TYPE_EXTERNALMODEL:String = externalmodel
Means that the 3D object is described by an external model file. The following formats are applicable: 3ds, md2, obj and dae.
For example:
THREED_SHAPE_TYPE_LATHEEXTRUSION | Constant |
public static const THREED_SHAPE_TYPE_LATHEEXTRUSION:String = latheextrusion
Stands for the lathe extrusion object. Developers can use this object to represent the round corner of a wall.
For example:
THREED_SHAPE_TYPE_LINE | Constant |
public static const THREED_SHAPE_TYPE_LINE:String = line
Stands for a line.
THREED_SHAPE_TYPE_LINEAREXTRUSION | Constant |
public static const THREED_SHAPE_TYPE_LINEAREXTRUSION:String = linearextrusion
Stands for the linear extrusion object. Developers can use this object to represent a continuous wall.
For example:
THREED_SHAPE_TYPE_PLANE | Constant |
public static const THREED_SHAPE_TYPE_PLANE:String = plane
Stands for a plane.
THREED_SHAPE_TYPE_SPHERE | Constant |
public static const THREED_SHAPE_TYPE_SPHERE:String = sphere
Stands for a sphere.
THREED_SHAPE_TYPE_TERRAIN | Constant |
public static const THREED_SHAPE_TYPE_TERRAIN:String = terrian
Stands for a terrain object.
X_AXIS | Constant |
public static const X_AXIS:String = x
Stands for x axis.
Y_AXIS | Constant |
public static const Y_AXIS:String = y
Stands for y axis.
Z_AXIS | Constant |
public static const Z_AXIS:String = z
Stands for z axis.
ZERO_VECTOR | Constant |
public static const ZERO_VECTOR:Vector3D
Zero vector.