C# Class MirrorCamera, VR-Mirrors

Inheritance: MonoBehaviour
Show file Open project: AADProductions/VR-Mirrors

Public Properties

Property Type Description
CameraRig Transform
MirrorCameraParent Transform
PlayerCamera Camera
ReflectionTransform Transform
RenderAsMirror bool
TextureSize int
VrEye Camera
VrRig GameObject

Public Methods

Method Description
RenderIntoMaterial ( Material material ) : void

Protected Methods

Method Description
Awake ( ) : void
HMDMatrix4x4ToMatrix4x4 ( Valve, input ) : Matrix4x4

Method Details

Awake() protected method

protected Awake ( ) : void
return void

HMDMatrix4x4ToMatrix4x4() protected method

protected HMDMatrix4x4ToMatrix4x4 ( Valve, input ) : Matrix4x4
input Valve,
return Matrix4x4

RenderIntoMaterial() public method

public RenderIntoMaterial ( Material material ) : void
material Material
return void

Property Details

CameraRig public property

public Transform CameraRig
return Transform

MirrorCameraParent public property

public Transform MirrorCameraParent
return Transform

PlayerCamera public property

public Camera PlayerCamera
return Camera

ReflectionTransform public property

public Transform ReflectionTransform
return Transform

RenderAsMirror public property

public bool RenderAsMirror
return bool

TextureSize public property

public int TextureSize
return int

VrEye public property

public Camera VrEye
return Camera

VrRig public property

public GameObject VrRig
return GameObject