ColorMaterial
ColorMaterial is a single-pass material that uses a flat color as the surface's diffuse reflection value.
Inherited from SinglePassMaterialBase -> MaterialBase -> NamedAssetBase -> EventDispatcher.
Can be created using method new:
Lib.Away3D.Materials.ColorMaterial.new(color, alpha) |
Creates a new ColorMaterial object. |
color - (default = 0xcccccc) - The material's diffuse surface color. alpha - (default = 1) - The material's surface alpha. |
Created ColorMaterial object has properties:
alpha |
The alpha of the surface. |
color |
The diffuse reflectivity color of the surface. |
requiresBlending |
[override] [read-only] Indicates whether or not the material requires alpha blending during rendering. Boolean |
Created with the Personal Edition of HelpNDoc: Free EPub and documentation generator