Packagesandy.primitive
Classpublic final class PrimitiveMode

The PrimitiveMode class defines modes of creation for some primitives.

Some of the Sandy primitives can be created in one of two modes, TRI mode and QUAD mode. TRI mode makes for a better perspective distortion for textures, while QUAD mode gives better performance.



Public Constants
 ConstantDefined by
  QUAD : String = "quad"
[static] Specifies the surfaces of the primitive is built up by rectangular polygons.
PrimitiveMode
  TRI : String = "tri"
[static] Specifies the surfaces of the primitive is built up by triangles.
PrimitiveMode
Constant detail
QUADconstant
public static const QUAD:String = "quad"

Specifies the surfaces of the primitive is built up by rectangular polygons.

TRIconstant 
public static const TRI:String = "tri"

Specifies the surfaces of the primitive is built up by triangles.