Changes

Jump to: navigation, search

Canvas 3D - Cube Tag

1 byte removed, 19:40, 20 October 2006
no edit summary
== Introduction ==
The Cube is one of the basic primatives primitives that can be created on the fly. The Cube Tag encompases encompasses the various attributes that are associated with a Cube, such as position, size and orientation. In addition, the Cube can be textured with a predefined image from a specific location.
== Tag Attributes ==
* name
** '''Usage:''' <cube name="mycube" />.
** The ''name'' attribute is optional. If ommitedomited, the name is not used and thus cannot be retrieved within JavaScript.
** The Cube is given an Identifier so that It can be retrieved and modified within JavaScript.
** The name is a only accepts a string of Alpha-numeric characters.
* position
** '''Usage:''' <cube position="0.3, 5.5, 3.8" />.
** The ''position'' attribute is optional. If ommitedomited, the position defaults to the Origin location at {0.0, 0.0, 0.0}.
** The position attribute holds a set of three floating point numbers separated by commas that are associated with the distance away from the Origin Point on the X, Y, and Z axis.
* orientation
1
edit

Navigation menu