UnityMol  0.9.6-875
UnityMol viewer / In developement
UnityStandardAssets.ImageEffects.GlobalFog Class Reference
+ Inheritance diagram for UnityStandardAssets.ImageEffects.GlobalFog:
+ Collaboration diagram for UnityStandardAssets.ImageEffects.GlobalFog:

Public Member Functions

override bool CheckResources ()
 
- Public Member Functions inherited from UnityStandardAssets.ImageEffects.PostEffectsBase
bool Dx11Support ()
 

Public Attributes

bool distanceFog = true
 
bool excludeFarPixels = true
 
bool useRadialDistance = false
 
bool heightFog = true
 
float height = 1.0f
 
float heightDensity = 2.0f
 
float startDistance = 0.0f
 
Shader fogShader = null
 

Private Member Functions

void OnRenderImage (RenderTexture source, RenderTexture destination)
 

Static Private Member Functions

static void CustomGraphicsBlit (RenderTexture source, RenderTexture dest, Material fxMaterial, int passNr)
 

Private Attributes

Material fogMaterial = null
 

Additional Inherited Members

- Protected Member Functions inherited from UnityStandardAssets.ImageEffects.PostEffectsBase
Material CheckShaderAndCreateMaterial (Shader s, Material m2Create)
 
Material CreateMaterial (Shader s, Material m2Create)
 
bool CheckSupport ()
 
void Start ()
 
bool CheckSupport (bool needDepth)
 
bool CheckSupport (bool needDepth, bool needHdr)
 
void ReportAutoDisable ()
 
void NotSupported ()
 
void DrawBorder (RenderTexture dest, Material material)
 
- Protected Attributes inherited from UnityStandardAssets.ImageEffects.PostEffectsBase
bool supportHDRTextures = true
 
bool supportDX11 = false
 
bool isSupported = true
 

Detailed Description

Definition at line 9 of file GlobalFog.cs.

Member Function Documentation

override bool UnityStandardAssets.ImageEffects.GlobalFog.CheckResources ( )
virtual

Reimplemented from UnityStandardAssets.ImageEffects.PostEffectsBase.

Definition at line 30 of file GlobalFog.cs.

static void UnityStandardAssets.ImageEffects.GlobalFog.CustomGraphicsBlit ( RenderTexture  source,
RenderTexture  dest,
Material  fxMaterial,
int  passNr 
)
staticprivate

Definition at line 121 of file GlobalFog.cs.

void UnityStandardAssets.ImageEffects.GlobalFog.OnRenderImage ( RenderTexture  source,
RenderTexture  destination 
)
private

Definition at line 42 of file GlobalFog.cs.

Member Data Documentation

bool UnityStandardAssets.ImageEffects.GlobalFog.distanceFog = true

Definition at line 12 of file GlobalFog.cs.

bool UnityStandardAssets.ImageEffects.GlobalFog.excludeFarPixels = true

Definition at line 14 of file GlobalFog.cs.

Material UnityStandardAssets.ImageEffects.GlobalFog.fogMaterial = null
private

Definition at line 27 of file GlobalFog.cs.

Shader UnityStandardAssets.ImageEffects.GlobalFog.fogShader = null

Definition at line 26 of file GlobalFog.cs.

float UnityStandardAssets.ImageEffects.GlobalFog.height = 1.0f

Definition at line 20 of file GlobalFog.cs.

float UnityStandardAssets.ImageEffects.GlobalFog.heightDensity = 2.0f

Definition at line 22 of file GlobalFog.cs.

bool UnityStandardAssets.ImageEffects.GlobalFog.heightFog = true

Definition at line 18 of file GlobalFog.cs.

float UnityStandardAssets.ImageEffects.GlobalFog.startDistance = 0.0f

Definition at line 24 of file GlobalFog.cs.

bool UnityStandardAssets.ImageEffects.GlobalFog.useRadialDistance = false

Definition at line 16 of file GlobalFog.cs.


The documentation for this class was generated from the following file: