Packageaway3d.materials
Classpublic class WireframeMaterial
InheritanceWireframeMaterial Inheritance MaterialBase

WireframeMaterial is a material exclusively used to render wireframe object

See also

away3d.entities.Lines
Public Properties
 PropertyDefined by
 InheritedblendMode : String
The blend mode to use when drawing this renderable.
MaterialBase
 InheritedbothSides : Boolean
Defines whether or not the material should perform backface culling.
MaterialBase
 Inheritedextra : Object
An object to contain any extra data
MaterialBase
 Inheritedlights : Array
MaterialBase
 InheritedmaterialNamespace : String
The namespace of the material, used by the MaterialLibrary.
MaterialBase
 Inheritedmipmap : Boolean
Indicates whether or not any used textures should use mipmapping.
MaterialBase
 Inheritedname : String
The name of the material.
MaterialBase
 Inheritedrepeat : Boolean
Indicates whether or not any used textures should be tiled.
MaterialBase
 InheritedrequiresBlending : Boolean
Indicates whether or not the material requires alpha blending during rendering.
MaterialBase
 Inheritedsmooth : Boolean
Indicates whether or not any used textures should use smoothing.
MaterialBase
 InheriteduniqueId : uint
The unique id assigned to the material by the MaterialLibrary.
MaterialBase
Protected Properties
 PropertyDefined by
 Inherited_mipmap : Boolean
MaterialBase
 Inherited_numPasses : uint
MaterialBase
Public Methods
 MethodDefined by
  
WireframeMaterial
(w:int = 1000, h:int = 700)
Creates a new WireframeMaterial object.
WireframeMaterial
 Inherited
dispose(deep:Boolean):void
Cleans up any resources used by the current object.
MaterialBase
 Inherited
setNameAndSpace(name:String, materialNameSpace:String):void
Sets the materials name and namespace.
MaterialBase
Protected Methods
 MethodDefined by
 Inherited
Adds a pass to the material
MaterialBase
 Inherited
clearPasses():void
Clears all passes in the material.
MaterialBase
Constructor detail
WireframeMaterial()constructor
public function WireframeMaterial(w:int = 1000, h:int = 700)Parameters
w:int (default = 1000) — The material's diffuse surface color.
 
h:int (default = 700) — The material's surface alpha.
Init Parameters
Wiki link
Click to go to the wiki page for 'away3d.materials.WireframeMaterial'

Code examples

Comments