| Package | sandy.materials |
| Class | public class ZShaderMaterial |
| Inheritance | ZShaderMaterial Material |
| Property | Defined by | ||
|---|---|---|---|
![]() | attributes : MaterialAttributes
The attributes of this material.
| Material | |
| coef : Number | ZShaderMaterial | ||
![]() | filters : Array
The array of filters for this material.
| Material | |
![]() | id : Number
The unique id of this material
| Material | |
![]() | lightingEnable : Boolean = false
Specify is the material can receive light and apply the lightAttributes if specified.
| Material | |
| matrix : Matrix | ZShaderMaterial | ||
![]() | modified : Boolean
The modified state of this material.
| Material | |
| p3x : Number | ZShaderMaterial | ||
![]() | repeat : Boolean
The repeat property (?).
| Material | |
![]() | type : MaterialType
The material type of this material.
| Material | |
![]() | useVertexNormal : Boolean = false
Specify if the material use the vertex normal information
Default value is set to false.
| Material | |
| Method | Defined by | ||
|---|---|---|---|
|
ZShaderMaterial(p_nCoef:Number = 1, p_oAttr:MaterialAttributes = null)
| ZShaderMaterial | ||
![]() |
Not used in this version of Sandy.
| Material | |
|
Renders this material on the face it dresses
| ZShaderMaterial | ||
| coef | property |
public var coef:Number
| matrix | property |
public var matrix:Matrix
| p3x | property |
public var p3x:Number
| ZShaderMaterial | () | constructor |
public function ZShaderMaterial(p_nCoef:Number = 1, p_oAttr:MaterialAttributes = null)Parameters
p_nCoef:Number (default = 1) |
|
p_oAttr:MaterialAttributes (default = null) |
| renderPolygon | () | method |
public override function renderPolygon(p_oScene:Scene3D, p_oPolygon:Polygon, p_mcContainer:Sprite):voidRenders this material on the face it dresses
Parametersp_oScene:Scene3D — The face to be rendered
|
|
p_oPolygon:Polygon — The container to draw on
|
|
p_mcContainer:Sprite |