VR Development Framework
v 1.0.0
Main Page
Related Pages
Namespaces
Classes
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
Properties
Events
Pages
AVR
Core
AVR_CameraFade
Awake
do_fade_in
do_fade_out
end_value
EndEffect
fade_in_duration
fade_out_duration
fadeMaterial
isBusy
OnDisable
OnEnable
OnPostRenderCallback
overlayColor
start_value
StartEffect
StartEndEffect
stime
Update
virtual void AVR.Core.AVR_CameraFade.OnPostRenderCallback
(
Camera
cam
)
inline
protected
virtual
Definition at line
114
of file
AVR_CameraFade.cs
.
115
{
116
if
(
overlayColor
.a > 0 && cam==Camera.main)
117
{
118
GL.PushMatrix();
119
GL.LoadOrtho();
120
fadeMaterial.SetPass(0);
121
GL.Begin(GL.QUADS);
122
GL.Color(
overlayColor
);
123
GL.Vertex3(0, 0, 0);
124
GL.Vertex3(1, 0, 0);
125
GL.Vertex3(1, 1, 0);
126
GL.Vertex3(0, 1, 0);
127
GL.End();
128
GL.PopMatrix();
129
}
130
}
AVR.Core.AVR_CameraFade.overlayColor
Color overlayColor
Value of the "_Color" component of the materials shader.
Definition:
AVR_CameraFade.cs:21