Constructordojox.gfx3d.Polygon

dojo.require("dojox.gfx3d.object");
defined in dojox/gfx3d/object.js

a generic triangle (this is a helper object, which is defined for convenience)

Usage

function () (view source)

Jump to PropertiesFunctionsBack to top

Defined by dojox.gfx3d.Object
multiplies the existing matrix with an argument on left side (matrix * this.matrix)
Defined by dojox.gfx3d.Object
multiplies the existing matrix with an argument on right side (this.matrix * matrix)
Defined by dojox.gfx3d.Object
a shortcut for dojox.gfx.Shape.applyRightTransform
Functiondraw(lighting)
Functionrender(camera)
the 3D objects need to override the following virtual functions: getZOrder, getOutline, draw, redraw if necessary.
FunctionsetFill(fill: Object)
Defined by dojox.gfx3d.Object
sets a fill object (the default implementation is to delegate to the underlying 2D shape).
FunctionsetObject(newObject: Array)
setup the object
FunctionsetStroke(stroke: Object)
Defined by dojox.gfx3d.Object
sets a stroke object (the default implementation simply ignores it)
FunctionsetTransform(matrix)
Defined by dojox.gfx3d.Object
sets a transformation matrix
FunctiontoStdFill(lighting, normal)
Defined by dojox.gfx3d.Object

Jump to FunctionsPropertiesBack to top