Class FlatMaterial
Extends
Material.
render an object without illumination
Defined in: FlatMaterial.js.
Constructor Attributes | Constructor Name and Description |
---|---|
FlatMaterial(name, color)
|
Method Attributes | Method Name and Description |
---|---|
render(object, sceneNode, camera)
|
|
renderAABB(aabb, sceneNode, camera)
|
|
renderSubMesh(subMesh, meshNode, camera)
|
|
setColor(color)
|
Method Detail
render(object, sceneNode, camera)
- Parameters:
- object
- may be either a SubMesh or a PointcloudOctree
- sceneNode
- camera
renderAABB(aabb, sceneNode, camera)
- Parameters:
- aabb
- sceneNode
- camera
renderSubMesh(subMesh, meshNode, camera)
- Parameters:
- subMesh
- meshNode
- camera
setColor(color)
- Parameters:
- color