Chapter 2. XML elements and attributes

Table of Contents

WMXML
GLOBAL
CAMERA
PROTECT
MATRIX
WHEEL
RADIUS
SCENE
LOCAL
AUTOSCALE
ATOM
BOND
RIBBON
COIL
OBJ3D
LABEL
SHAPE
CHAIN
POINT
TRI
common attributes for primitives

WMXML

Description

Level: top

Top level element of this XML.

Parent Elements

nothing

Child Elements

GLOBAL, SCENE

Attributes

worker (type:Int) = "0"

Available in wm3d 0.4 or later.

Whether Worker is used in loading SCENEs. Set 1 to enable worker. (require flash player >= 11.4) If the flash player version is < 11.4, this parameter is simply ignored.

If enabled, primordial worker (master process) reads only the first SCENE. A non-primordial worker loads all the scenes (including first scene; first scene is loaded twice) and then send to primordial worker. Thus this option does nothing if there is only one SCENE in XML. The first SCENE should haxe small number of polygons than the other SCENEs.

culling (type:Int) = "1"

Available in wm3d 0.4 or later.

Whether culling is enabled. For most case, culling should be enabled.