C# Class AnaglyphizerC, Unity3D-Anaglyph-izer

Inheritance: MonoBehaviour
Exibir arquivo Open project: EsimpleStudios/Unity3D-Anaglyph-izer Class Usage Examples

Public Properties

Property Type Description
anaglyphMat Material
downEyeDistance KeyCode,
downFocalDistance KeyCode,
enableKeys bool
upEyeDistance KeyCode,
upFocalDistance KeyCode,
useProjectionMatrix bool

Public Methods

Method Description
LateUpdate ( ) : void
OnRenderImage ( RenderTexture source, RenderTexture destination ) : void
Start ( ) : void
Stop ( ) : void
UpdateView ( ) : void

Private Methods

Method Description
DrawQuad ( ) : void
PerspectiveOffCenter ( float left, float right, float bottom, float top, float near, float far ) : Matrix4x4
projectionMatrix ( bool isLeftEye ) : Matrix4x4

Method Details

LateUpdate() public method

public LateUpdate ( ) : void
return void

OnRenderImage() public method

public OnRenderImage ( RenderTexture source, RenderTexture destination ) : void
source RenderTexture
destination RenderTexture
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

UpdateView() public method

public UpdateView ( ) : void
return void

Property Details

anaglyphMat public_oe property

public Material anaglyphMat
return Material

downEyeDistance public_oe property

public KeyCode, downEyeDistance
return KeyCode,

downFocalDistance public_oe property

public KeyCode, downFocalDistance
return KeyCode,

enableKeys public_oe property

public bool enableKeys
return bool

upEyeDistance public_oe property

public KeyCode, upEyeDistance
return KeyCode,

upFocalDistance public_oe property

public KeyCode, upFocalDistance
return KeyCode,

useProjectionMatrix public_oe property

public bool useProjectionMatrix
return bool