Table of Contents

Class Mirror

Namespace
DefaultNamespace
Assembly
Assembly-CSharp.dll
[DefaultExecutionOrder(4000)]
[ExecuteInEditMode]
public class Mirror : MonoBehaviour
Inheritance
Mirror
Inherited Members
Extension Methods

Constructors

Mirror()

public Mirror()

Fields

camObj

public GameObject camObj

Field Value

GameObject

frustrumPlanes

public static Plane[] frustrumPlanes

Field Value

Plane[]

infos

public List<Mirror.Info> infos

Field Value

List<Mirror.Info>

linkedCam

public Camera linkedCam

Field Value

Camera

mat

public Material mat

Field Value

Material

mr

public MeshRenderer mr

Field Value

MeshRenderer

mrObj

public GameObject mrObj

Field Value

GameObject

oldRenderScale

public float oldRenderScale

Field Value

float

oldRenderSize

public Vector2Int oldRenderSize

Field Value

Vector2Int

renderScale

[Min(0.001)]
public float renderScale

Field Value

float

renderSize

public Vector2Int renderSize

Field Value

Vector2Int

shader

public Shader shader

Field Value

Shader

shouldRender

public bool shouldRender

Field Value

bool

Properties

thisGameObject

public GameObject thisGameObject { get; }

Property Value

GameObject

Methods

AllocAlt()

public RTHandle AllocAlt()

Returns

RTHandle

AllocMain()

public RTHandle AllocMain()

Returns

RTHandle

Awake()

public void Awake()

IsVisible(Camera, Bounds)

public static bool IsVisible(Camera camera, Bounds bounds)

Parameters

camera Camera
bounds Bounds

Returns

bool

LateUpdate()

public void LateUpdate()

OnCameraRender(ScriptableRenderContext, Camera)

public void OnCameraRender(ScriptableRenderContext arg1, Camera arg2)

Parameters

arg1 ScriptableRenderContext
arg2 Camera

OnDestroy()

public void OnDestroy()

OnDisable()

public void OnDisable()

OnEnable()

public void OnEnable()

OnWillRenderObjectWCam(Camera, bool)

public void OnWillRenderObjectWCam(Camera current, bool render)

Parameters

current Camera
render bool

RenderCam(Camera, Vector3, Quaternion, Matrix4x4, RTHandle, string, bool)

public void RenderCam(Camera current, Vector3 pos, Quaternion rot, Matrix4x4 mat, RTHandle rt3, string texId, bool render)

Parameters

current Camera
pos Vector3
rot Quaternion
mat Matrix4x4
rt3 RTHandle
texId string
render bool