Packagetwaver.threed.util
Classpublic class Consts3D
InheritanceConsts3D Inheritance Object

Consts3D provides optional values for the 3D styles.



Public Constants
 ConstantDefined 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
Constant Detail
EFFECT_TYPE_FRAMEWORKConstant
public static const EFFECT_TYPE_FRAMEWORK:String = framework

When a 3D object is selected, the framework of the object will be displayed.

EFFECT_TYPE_NONEConstant 
public static const EFFECT_TYPE_NONE:String = none

When a 3D object is selected, no visual effect will be displayed.

EFFECT_TYPE_SCALEConstant 
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_3DSConstant 
public static const EXTERNAL_MODEL_TYPE_3DS:String = 3ds

States the model file format is 3DS.

EXTERNAL_MODEL_TYPE_DAEConstant 
public static const EXTERNAL_MODEL_TYPE_DAE:String = dae

States the model file format is dae.

EXTERNAL_MODEL_TYPE_MD2Constant 
public static const EXTERNAL_MODEL_TYPE_MD2:String = md2

States the model file format is md2.

EXTERNAL_MODEL_TYPE_OBJConstant 
public static const EXTERNAL_MODEL_TYPE_OBJ:String = obj

States the model file format is obj.

MAPPINGTYPE_COLORConstant 
public static const MAPPINGTYPE_COLOR:String = color

Stands for color materials.

MAPPINGTYPE_COMMONConstant 
public static const MAPPINGTYPE_COMMON:String = common

Stands for texture materials.

MAPPINGTYPE_MAP6Constant 
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_XYConstant 
public static const PLANE_XY:String = xy

Stands for x-y plane.

PLANE_XZConstant 
public static const PLANE_XZ:String = xz

Stands for x-z plane.

PLANE_ZYConstant 
public static const PLANE_ZY:String = zy

Stands for z-y plane.

SMOOTH_LEVEL_COMMONConstant 
public static const SMOOTH_LEVEL_COMMON:String = common

The visual effect of a 3D object is common.

SMOOTH_LEVEL_GREATConstant 
public static const SMOOTH_LEVEL_GREAT:String = great

The visual effect of a 3D object is great.

SMOOTH_LEVEL_MIDDLEConstant 
public static const SMOOTH_LEVEL_MIDDLE:String = middle

The visual effect of a 3D object is good.

THREED_SHAPE_TYPE_BILLBOARDConstant 
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_BOXSCENEConstant 
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_COMPLEXCUBEConstant 
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_CONEConstant 
public static const THREED_SHAPE_TYPE_CONE:String = cone

Stands for a cone.

THREED_SHAPE_TYPE_CUBEConstant 
public static const THREED_SHAPE_TYPE_CUBE:String = cube

Stands for a cube.

THREED_SHAPE_TYPE_CYLINDERConstant 
public static const THREED_SHAPE_TYPE_CYLINDER:String = cylinder

Stands for a cylinder.

THREED_SHAPE_TYPE_EXTERNALMODELConstant 
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_LATHEEXTRUSIONConstant 
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_LINEConstant 
public static const THREED_SHAPE_TYPE_LINE:String = line

Stands for a line.

THREED_SHAPE_TYPE_LINEAREXTRUSIONConstant 
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_PLANEConstant 
public static const THREED_SHAPE_TYPE_PLANE:String = plane

Stands for a plane.

THREED_SHAPE_TYPE_SPHEREConstant 
public static const THREED_SHAPE_TYPE_SPHERE:String = sphere

Stands for a sphere.

THREED_SHAPE_TYPE_TERRAINConstant 
public static const THREED_SHAPE_TYPE_TERRAIN:String = terrian

Stands for a terrain object.

X_AXISConstant 
public static const X_AXIS:String = x

Stands for x axis.

Y_AXISConstant 
public static const Y_AXIS:String = y

Stands for y axis.

Z_AXISConstant 
public static const Z_AXIS:String = z

Stands for z axis.

ZERO_VECTORConstant 
public static const ZERO_VECTOR:Vector3D

Zero vector.