dojox/gfx3d/_base.Scene (version 1.10)

Summary

the Scene is just a container.

Usage

var foo = new _base.Scene();
dojox/gfx3d/object

See the dojox/gfx3d/_base.Scene reference documentation for more information.

Method Summary

Methods

abandon(obj,silently)
Defined by dojox/gfx3d/object

removes a shape from the list

Parameter Type Description
obj undefined
silently Boolean
Optional

if true, do not redraw a picture yet

Returns:function

removes a shape from the list

addTodo(newObject)
Defined by dojox/gfx3d/object
Parameter Type Description
newObject undefined
adopt(obj)
Defined by dojox/gfx3d/object

adds a shape to the list

Parameter Type Description
obj undefined
Returns:function

adds a shape to the list

applyLeftTransform(matrix)
Defined by dojox/gfx3d/object

multiplies the existing matrix with an argument on left side (matrix * this.matrix)

Parameter Type Description
matrix dojox.gfx3d.matrix.Matrix

a matrix or a matrix-like object (see an argument of dojox.gfx.matrix.Matrix constructor for a list of acceptable arguments)

Returns:function

multiplies the existing matrix with an argument on left side (matrix * this.matrix)

applyRightTransform(matrix)
Defined by dojox/gfx3d/object

multiplies the existing matrix with an argument on right side (this.matrix * matrix)

Parameter Type Description
matrix dojox.gfx3d.matrix.Matrix

a matrix or a matrix-like object (see an argument of dojox.gfx.matrix.Matrix constructor for a list of acceptable arguments)

Returns:function

multiplies the existing matrix with an argument on right side (this.matrix * matrix)

applyTransform(matrix)
Defined by dojox/gfx3d/object

a shortcut for dojox.gfx.Shape.applyRightTransform

Parameter Type Description
matrix dojox.gfx3d.matrix.Matrix

a matrix or a matrix-like object (see an argument of dojox.gfx.matrix.Matrix constructor for a list of acceptable arguments)

Returns:function

a shortcut for dojox.gfx.Shape.applyRightTransform

create3DObject(objectType,rawObject,style)
Defined by dojox/gfx3d/object

creates an instance of the passed objectType class

Parameter Type Description
objectType Function

a class constructor to create an instance of

rawObject Object

properties to be passed in to the classes "setShape" method

style undefined
Returns:instance
createCube(cube)
Defined by dojox/gfx3d/object

creates an cube object

Parameter Type Description
cube undefined
Returns:undefined
createCylinder(cylinder)
Defined by dojox/gfx3d/object

creates an cylinder object

Parameter Type Description
cylinder undefined
Returns:undefined
createEdges(edges,style)
Defined by dojox/gfx3d/object

creates an edge object

Parameter Type Description
edges undefined
style undefined
Returns:undefined
createOrbit(orbit)
Defined by dojox/gfx3d/object

creates an Orbit object

Parameter Type Description
orbit undefined
Returns:undefined
createPath3d(path)
Defined by dojox/gfx3d/object

creates an 3d path object

Parameter Type Description
path undefined
Returns:undefined
createPolygon(points)
Defined by dojox/gfx3d/object

creates an polygon object

Parameter Type Description
points Points[] | Object
Returns:undefined
createQuads(quads,style)
Defined by dojox/gfx3d/object

creates an quads object

Parameter Type Description
quads undefined
style undefined
Returns:undefined
createScene()
Defined by dojox/gfx3d/object

creates a scene object

Returns:undefined
createTriangles(tris,style)
Defined by dojox/gfx3d/object

creates an triangle object

Parameter Type Description
tris undefined
style undefined
Returns:undefined
destroy()
Defined by dojox/gfx3d/object
draw(lighting)
Defined by dojox/gfx3d/object
Parameter Type Description
lighting undefined
getOutline()
Defined by dojox/gfx3d/object
Returns:null
getZOrder()
Defined by dojox/gfx3d/object
Returns:number
invalidate()
Defined by dojox/gfx3d/object
render(camera,deep)
Defined by dojox/gfx3d/object
Parameter Type Description
camera undefined
deep undefined
setDrawer(drawer)
Defined by dojox/gfx3d/object
Parameter Type Description
drawer undefined
setFill(fill)
Defined by dojox/gfx3d/object
Parameter Type Description
fill undefined
Returns:function
setObject(newObject)
Defined by dojox/gfx3d/object

sets a Object object

Parameter Type Description
newObject undefined
Returns:function

sets a Object object

setScheduler(scheduler)
Defined by dojox/gfx3d/object
Parameter Type Description
scheduler undefined
setStroke(stroke)
Defined by dojox/gfx3d/object
Parameter Type Description
stroke undefined
Returns:function
setTransform(matrix)
Defined by dojox/gfx3d/object

sets a transformation matrix

Parameter Type Description
matrix undefined
Returns:function

sets a transformation matrix

toStdFill(lighting,normal)
Defined by dojox/gfx3d/object
Parameter Type Description
lighting undefined
normal undefined
Returns:undefined
Error in the documentation? Can’t find what you are looking for? Let us know!