Packageaway3d.materials
Interfacepublic interface ISegmentMaterial extends IMaterial
ImplementorsWireframeMaterial

Interface for materials that are capable of drawing line segments.

Public Properties
 PropertyDefined by
 Inheritedid : int
Unique identifier
IMaterial
 Inheritedvisible : Boolean
Indicates whether the material is visible
IMaterial
Public Methods
 MethodDefined by
 Inherited
addOnMaterialUpdate(listener:Function):void
Default method for adding a materialupdated event listener
IMaterial
 Inherited
removeOnMaterialUpdate(listener:Function):void
Default method for removing a materialupdated event listener
IMaterial
  
Sends data from the material coupled with data from the DrawSegment primitive to the render session.
ISegmentMaterial
 Inherited
updateMaterial(source:Object3D, view:View3D):void
Called once per render loop when material is visible.
IMaterial
Method detail
renderSegment()method
public function renderSegment(seg:DrawSegment):void

Sends data from the material coupled with data from the DrawSegment primitive to the render session.

Parameters
seg:DrawSegment
Wiki link
Click to go to the wiki page for ####WIKI####

Code examples

Comments