| Package | alternativa.engine3d.materials |
| Class | public class WireMaterial |
| Inheritance | WireMaterial SurfaceMaterial Material |
| Property | Defined by | ||
|---|---|---|---|
![]() | alpha : Number material opacity
| Material | |
![]() | blendMode : String Color blending mode.
| Material | |
| color : uint Lines color.
| WireMaterial | ||
![]() | surface : Surface
Surface material.
| SurfaceMaterial | |
| thickness : Number Lines thickness.
| WireMaterial | ||
| Method | Defined by | ||
|---|---|---|---|
|
WireMaterial(thickness:Number = 0, color:uint = 0, alpha:Number = 1, blendMode:String)
Create an instance of class.
| WireMaterial | ||
|
Clone material.
| WireMaterial | ||
| color | property |
color:uint [read-write]Lines color.
Implementation public function get color():uint
public function set color(value:uint):void
| thickness | property |
thickness:Number [read-write]Lines thickness. Lines are not drawn if thickness is negative.
Implementation public function get thickness():Number
public function set thickness(value:Number):void
| WireMaterial | () | constructor |
public function WireMaterial(thickness:Number = 0, color:uint = 0, alpha:Number = 1, blendMode:String)Create an instance of class.
Parametersthickness:Number (default = 0) — wire lines thickness |
|
color:uint (default = 0) — wire lines color |
|
alpha:Number (default = 1) — wire lines transparency |
|
blendMode:String — color blending mode |
| clone | () | method |
public override function clone():MaterialClone material.
ReturnsMaterial — a clone of the material object |