C# Class CameraFader, ShaderProject

Inheritance: MonoBehaviour
Mostrar archivo Open project: ellioman/ShaderProject Class Usage Examples

Private Properties

Property Type Description
AnimationRoutine IEnumerator
OnDisable void
OnRenderImage void
Start void

Public Methods

Method Description
CloseBars ( float durationSeconds, AnimationCurve curveToUse = null ) : void
CloseCircle ( float durationSeconds, Vector2 viewportPos, AnimationCurve curveToUse = null ) : void
OpenBars ( float durationSeconds, AnimationCurve curveToUse = null ) : void
OpenCircle ( float durationSeconds, Vector2 viewportPos, AnimationCurve curveToUse = null ) : void
SetBarVal ( float newVal ) : void

Private Methods

Method Description
AnimationRoutine ( float durationSeconds, AnimationCurve curveToUse ) : IEnumerator
OnDisable ( ) : void
OnRenderImage ( RenderTexture sourceTexture, RenderTexture destTexture ) : void
Start ( ) : void

Method Details

CloseBars() public method

public CloseBars ( float durationSeconds, AnimationCurve curveToUse = null ) : void
durationSeconds float
curveToUse UnityEngine.AnimationCurve
return void

CloseCircle() public method

public CloseCircle ( float durationSeconds, Vector2 viewportPos, AnimationCurve curveToUse = null ) : void
durationSeconds float
viewportPos Vector2
curveToUse UnityEngine.AnimationCurve
return void

OpenBars() public method

public OpenBars ( float durationSeconds, AnimationCurve curveToUse = null ) : void
durationSeconds float
curveToUse UnityEngine.AnimationCurve
return void

OpenCircle() public method

public OpenCircle ( float durationSeconds, Vector2 viewportPos, AnimationCurve curveToUse = null ) : void
durationSeconds float
viewportPos Vector2
curveToUse UnityEngine.AnimationCurve
return void

SetBarVal() public method

public SetBarVal ( float newVal ) : void
newVal float
return void