C# Class KooimaProjMatrix, ERL_Networking

Inheritance: MonoBehaviour
Mostra file Open project: EmergentRealityLab/ERL_Networking

Public Properties

Property Type Description
BottomLeftScreenCorner Transform
BottomRightScreenCorner Transform
TopLeftScreenCorner Transform
whichEyeIfStereo eyeOffset

Public Methods

Method Description
KooimaPerspectiveProjection ( Vector3 bottomLeft, Vector3 bottomRight, Vector3 topLeft, Vector3 eyePos, float near, float far ) : Matrix4x4
LateUpdate ( ) : void

Private Methods

Method Description
PerspectiveOffCenter ( float left, float right, float bottom, float top, float near, float far ) : Matrix4x4

Method Details

KooimaPerspectiveProjection() public method

public KooimaPerspectiveProjection ( Vector3 bottomLeft, Vector3 bottomRight, Vector3 topLeft, Vector3 eyePos, float near, float far ) : Matrix4x4
bottomLeft Vector3
bottomRight Vector3
topLeft Vector3
eyePos Vector3
near float
far float
return Matrix4x4

LateUpdate() public method

public LateUpdate ( ) : void
return void

Property Details

BottomLeftScreenCorner public_oe property

public Transform BottomLeftScreenCorner
return Transform

BottomRightScreenCorner public_oe property

public Transform BottomRightScreenCorner
return Transform

TopLeftScreenCorner public_oe property

public Transform TopLeftScreenCorner
return Transform

whichEyeIfStereo public_oe property

public eyeOffset whichEyeIfStereo
return eyeOffset