C# Class GvrEye, unity-cardboard-photosphere

Inheritance: MonoBehaviour
Mostrar archivo Open project: omgwtfgames/unity-cardboard-photosphere

Public Properties

Property Type Description
eye GvrViewer.Eye
keepCustomSkybox bool

Public Methods

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

Private Methods

Method Description
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

OnPostRender() public method

public OnPostRender ( ) : void
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_oe property

public GvrViewer.Eye eye
return GvrViewer.Eye

keepCustomSkybox public_oe property

By default the monoscopic skybox is copied from the parent camera on the StereoController. Enable this option if you want a custom skybox on each GvrEye to be left as-is (for example if you have a stereo pair of skyboxes where one eye gets the left or right skybox, use this)
public bool keepCustomSkybox
return bool