Packageaway3d.loaders.data
Classpublic class MeshMaterialData

Data class for teh material of a 3d object

Public Properties
 PropertyDefined by
  elements : Vector
Array of indexes representing the elements that use the material.
MeshMaterialData
  faceList : Vector
A list of faces which are to be drawn with the material.
MeshMaterialData
  geometry : Geometry
MeshMaterialData
  material : Material
MeshMaterialData
  symbol : String
The name of the material used as a unique reference for the mesh.
MeshMaterialData
Public Methods
 MethodDefined by
  
MeshMaterialData
Property detail
elementsproperty
public var elements:Vector

Array of indexes representing the elements that use the material.

faceListproperty 
public var faceList:Vector

A list of faces which are to be drawn with the material.

geometryproperty 
public var geometry:Geometry
materialproperty 
material:Material  [read-write]Implementation
    public function get material():Material
    public function set material(value:Material):void
symbolproperty 
public var symbol:String

The name of the material used as a unique reference for the mesh.

Method detail
clone()method
public function clone():MeshMaterialData

Returns
MeshMaterialData
Wiki link
Click to go to the wiki page for 'away3d.loaders.data.MeshMaterialData'

Code examples

Comments