Documentation

Classes

Class MeshBuffer

A buffer containing a set of geometry with one material.

Class Overview
MeshBuffer()
A buffer containing a set of geometry with one material, usually part of a Mesh.

Field Summary
Field Attributes Field Name and Description
 
Box
Axis aligned bounding box enclosing the geometry in this mesh buffer
 
Array of Indices into the Vertices array.
 
Mat
Material of the geometry, of type Material.
 
Object for the renderer to store renderer created arrays for rendering the geometry.
 
Array of Vertices of this mesh buffer.
Method Summary
Method Attributes Method Name and Description
 
Recalculates the bounding box
 
Needs to be called when the Vertices or Indices have been changed so that the RendererNativeArray gets recreated.
Field Detail
Box
Axis aligned bounding box enclosing the geometry in this mesh buffer

Indices
Array of Indices into the Vertices array. Each 3 indices in this array form a triangle to be rendered.

{Material} Mat
Material of the geometry, of type Material.

RendererNativeArray
Object for the renderer to store renderer created arrays for rendering the geometry.

Vertices
Array of Vertices of this mesh buffer. The members of this array must all be of type Vertex3D.
Method Detail
recalculateBoundingBox()
Recalculates the bounding box

update()
Needs to be called when the Vertices or Indices have been changed so that the RendererNativeArray gets recreated.

© 2010 N.Gebhardt, Ambiera
Documentation generated by JsDoc Toolkit