C# Class CardboardEye

Inheritance: MonoBehaviour
Show file Open project: ludo6577/VrMultiplatform Class Usage Examples

Public Properties

Property Type Description
eye Cardboard.Eye

Public Methods

Method Description
Awake ( ) : void
CopyCameraAndMakeSideBySide ( StereoController, controller, float parx, float pary ) : void
OnPreCull ( ) : void
Start ( ) : void
UpdateStereoValues ( ) : void

Private Methods

Method Description
FixProjection ( Matrix4x4 &proj ) : void
FixViewport ( Rect rect ) : Rect
SetupStereo ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

CopyCameraAndMakeSideBySide() public method

public CopyCameraAndMakeSideBySide ( StereoController, controller, float parx, float pary ) : void
controller StereoController,
parx float
pary float
return void

OnPreCull() public method

public OnPreCull ( ) : void
return void

Start() public method

public Start ( ) : void
return void

UpdateStereoValues() public method

public UpdateStereoValues ( ) : void
return void

Property Details

eye public property

public Cardboard.Eye eye
return Cardboard.Eye