FogMethod
FogMethod provides a method to add distance-based fog to a material.
Inherited from EffectMethodBase -> ShadingMethodBase -> NamedAssetBase -> EventDispatcher.
Can be created using method new:
Lib.Away3D.Materials.Methods.FogMethod.new(minDistance, maxDistance, fogColor) |
Creates FogMethod object. |
minDistance - Float. The distance from which the fog starts appearing. maxDistance - Float. The distance at which the fog is densest. fogColor - Int, default 0x808080. The colour of the fog. |
Created FogMethod object has properties:
fogColor |
Int. The colour of the fog. |
maxDistance |
Number. The distance at which the fog is densest. |
minDistance |
Number. The distance from which the fog starts appearing. |
Created with the Personal Edition of HelpNDoc: Generate EPub eBooks with ease