C# Class StereoController

Inheritance: MonoBehaviour
Datei anzeigen Open project: ludo6577/VrMultiplatform Class Usage Examples

Public Properties

Property Type Description
keepStereoUpdated bool

Public Methods

Method Description
AddStereoRig ( ) : void
Awake ( ) : void
ComputeStereoEyePosition ( Cardboard, eye, float proj11, float zScale ) : Vector3
InvalidateEyes ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void
OnPreCull ( ) : void
UpdateStereoValues ( ) : void

Private Methods

Method Description
CreateEye ( Cardboard, eye ) : void
EndOfFrame ( ) : IEnumerator

Method Details

AddStereoRig() public method

public AddStereoRig ( ) : void
return void

Awake() public method

public Awake ( ) : void
return void

ComputeStereoEyePosition() public method

public ComputeStereoEyePosition ( Cardboard, eye, float proj11, float zScale ) : Vector3
eye Cardboard,
proj11 float
zScale float
return Vector3

InvalidateEyes() public method

public InvalidateEyes ( ) : void
return void

OnDisable() public method

public OnDisable ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

OnPreCull() public method

public OnPreCull ( ) : void
return void

UpdateStereoValues() public method

public UpdateStereoValues ( ) : void
return void

Property Details

keepStereoUpdated public_oe property

public bool keepStereoUpdated
return bool