UnityMol
0.9.6-875
UnityMol viewer / In developement
Main Page
Related Pages
Packages
Classes
Files
File List
File Members
ColorCorrectionRamp.cs
Go to the documentation of this file.
1
using
System
;
2
using
UnityEngine
;
3
4
namespace
UnityStandardAssets
.ImageEffects
5
{
6
[ExecuteInEditMode]
7
[AddComponentMenu(
"Image Effects/Color Adjustments/Color Correction (Ramp)"
)]
8
public
class
ColorCorrectionRamp
:
ImageEffectBase
{
9
public
Texture
textureRamp
;
10
11
// Called by camera to apply image effect
12
void
OnRenderImage
(RenderTexture source, RenderTexture destination) {
13
material.SetTexture (
"_RampTex"
, textureRamp);
14
Graphics.Blit (source, destination, material);
15
}
16
}
17
}
System
UnityStandardAssets.ImageEffects.ColorCorrectionRamp.textureRamp
Texture textureRamp
Definition:
ColorCorrectionRamp.cs:9
UnityEngine
UnityStandardAssets
UnityStandardAssets.ImageEffects.ColorCorrectionRamp.OnRenderImage
void OnRenderImage(RenderTexture source, RenderTexture destination)
Definition:
ColorCorrectionRamp.cs:12
UnityStandardAssets.ImageEffects.ColorCorrectionRamp
Definition:
ColorCorrectionRamp.cs:8
UnityStandardAssets.ImageEffects.ImageEffectBase
Definition:
ImageEffectBase.cs:8
Assets
Standard Assets
Effects
ImageEffects
Scripts
ColorCorrectionRamp.cs
Generated on Wed Aug 3 2016 15:10:28 for UnityMol by
1.8.11