Class Mirror
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
[DefaultExecutionOrder(4000)]
[ExecuteInEditMode]
public class Mirror : MonoBehaviour
- Inheritance
-
Mirror
- Inherited Members
-
- Extension Methods
-
Constructors
Mirror()
Fields
camObj
Field Value
- GameObject
frustrumPlanes
public static Plane[] frustrumPlanes
Field Value
- Plane[]
infos
public List<Mirror.Info> infos
Field Value
- List<Mirror.Info>
linkedCam
Field Value
- Camera
mat
Field Value
- Material
mr
Field Value
- MeshRenderer
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
Field Value
- Shader
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()
IsVisible(Camera, Bounds)
public static bool IsVisible(Camera camera, Bounds bounds)
Parameters
camera
Camera
bounds
Bounds
Returns
- bool
LateUpdate()
OnCameraRender(ScriptableRenderContext, Camera)
public void OnCameraRender(ScriptableRenderContext arg1, Camera arg2)
Parameters
arg1
ScriptableRenderContext
arg2
Camera
OnDestroy()
OnDisable()
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