| Package | alternativa.engine3d.materials |
| Class | public class LightMapMaterial |
| Inheritance | LightMapMaterial TextureMaterial Material Object |
See also
| Property | Defined By | ||
|---|---|---|---|
![]() | alpha : Number = 1
Transparency. | TextureMaterial | |
![]() | alphaThreshold : Number = 0
alphaThreshold defines starts from which value of alpha a fragment of the surface will get into transparent pass. | TextureMaterial | |
![]() | diffuseMap : TextureResource
Diffuse map. | TextureMaterial | |
| lightMap : TextureResource
Light map. | LightMapMaterial | ||
| lightMapChannel : uint = 0
Number of the UV-channel for light map. | LightMapMaterial | ||
![]() | name : String
Name of the material
| Material | |
![]() | opacityMap : TextureResource
Opacity map. | TextureMaterial | |
![]() | opaquePass : Boolean = true
If true, perform opaque pass. | TextureMaterial | |
![]() | transparentPass : Boolean = true
If true, perform transparent pass. | TextureMaterial | |
| Method | Defined By | ||
|---|---|---|---|
LightMapMaterial(diffuseMap:TextureResource = null, lightMap:TextureResource = null, lightMapChannel:uint = 0, opacityMap:TextureResource = null)
Creates a new LightMapMaterial instance. | LightMapMaterial | ||
[override]
| LightMapMaterial | ||
![]() | getResources(resourceType:Class = null):Vector.<Resource>
Gather resources used by material for uploading into context3D. | Material | |
| lightMap | property |
public var lightMap:TextureResourceLight map.
| lightMapChannel | property |
public var lightMapChannel:uint = 0Number of the UV-channel for light map.
| LightMapMaterial | () | Constructor |
public function LightMapMaterial(diffuseMap:TextureResource = null, lightMap:TextureResource = null, lightMapChannel:uint = 0, opacityMap:TextureResource = null)Creates a new LightMapMaterial instance.
ParametersdiffuseMap:TextureResource (default = null) — Diffuse texture.
| |
lightMap:TextureResource (default = null) — Light map.
| |
lightMapChannel:uint (default = 0) — Number of the UV-channel for light map.
| |
opacityMap:TextureResource (default = null) |
| clone | () | method |