Class Index | File Index

Classes


Class ROS3D.TriangleList


Defined in: TriangleList.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
A TriangleList is a THREE object that can be used to display a list of triangles as a geometry.
Method Summary
Method Attributes Method Name and Description
 
setColor(hex)
Set the color of this object to the given hex value.
Class Detail
ROS3D.TriangleList(options)
A TriangleList is a THREE object that can be used to display a list of triangles as a geometry.
Parameters:
options
- object with following keys: * material (optional) - the material to use for the object * vertices - the array of vertices to use * colors - the associated array of colors to use
Method Detail
setColor(hex)
Set the color of this object to the given hex value.
Parameters:
hex
- the hex value of the color to set

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 03 2013 18:15:58 GMT-0700 (PDT)