terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
UnityEngine.Camera Class Referencesealed
+ Inheritance diagram for UnityEngine.Camera:

Classes

class  CameraCallback
 
struct  RenderRequest
 

Public Types

enum  MonoOrStereoscopicEye { Left , Right , Mono }
 
enum  RenderRequestMode {
  None , ObjectId , Depth , VertexNormal ,
  WorldPosition , EntityId , BaseColor , SpecularColor ,
  Metallic , Emission , Normal , Smoothness ,
  Occlusion , DiffuseColor
}
 
enum  RenderRequestOutputSpace {
  ScreenSpace = -1 , UV0 , UV1 , UV2 ,
  UV3 , UV4 , UV5 , UV6 ,
  UV7 , UV8
}
 

Public Member Functions

 Camera ()
 
Vector3 WorldToScreenPoint (Vector3 position, Camera.MonoOrStereoscopicEye eye)
 
Vector3 ViewportToWorldPoint (Vector3 position, Camera.MonoOrStereoscopicEye eye)
 
Vector3 ScreenToWorldPoint (Vector3 position, Camera.MonoOrStereoscopicEye eye)
 
Vector3 WorldToScreenPoint (Vector3 position)
 
Vector3 ViewportToWorldPoint (Vector3 position)
 
Vector3 ScreenToWorldPoint (Vector3 position)
 
Vector3 ScreenToViewportPoint (Vector3 position)
 
Ray ScreenPointToRay (Vector3 pos, Camera.MonoOrStereoscopicEye eye)
 
Ray ScreenPointToRay (Vector3 pos)
 
void Render ()
 
Component GetComponent (Type type)
 
T GetComponent< T > ()
 
Component GetComponentInChildren (Type t, bool includeInactive)
 
T GetComponentInChildren< T > ()
 
T[] GetComponentsInChildren< T > (bool includeInactive)
 
void GetComponentsInChildren< T > (bool includeInactive, List< T > result)
 
void GetComponentsInChildren< T > (List< T > results)
 
Component GetComponentInParent (Type t, bool includeInactive)
 
T GetComponentInParent< T > ()
 
T[] GetComponentsInParent< T > (bool includeInactive)
 
void GetComponentsInParent< T > (bool includeInactive, List< T > results)
 
T[] GetComponentsInParent< T > ()
 
void GetComponents (Type type, List< Component > results)
 
void GetComponents< T > (List< T > results)
 
T[] GetComponents< T > ()
 
int GetInstanceID ()
 
override int GetHashCode ()
 
override bool Equals (object other)
 
override string ToString ()
 

Static Public Member Functions

static int GetAllCameras (Camera[] cameras)
 
static implicit operator bool (Object exists)
 
static Object Instantiate (Object original, Vector3 position, Quaternion rotation)
 
static Object Instantiate (Object original)
 
static T Instantiate< T > (T original)
 
static T Instantiate< T > (T original, Vector3 position, Quaternion rotation)
 
static void Destroy (Object obj, [DefaultValue("0.0F")] float t)
 
static void Destroy (Object obj)
 
static void DestroyImmediate (Object obj, [DefaultValue("false")] bool allowDestroyingAssets)
 
static void DestroyImmediate (Object obj)
 
static Object[] FindObjectsOfType (Type type, bool includeInactive)
 
static void DontDestroyOnLoad ([NotNull("NullExceptionObject")] Object target)
 
static T[] FindObjectsOfType< T > ()
 
static bool operator== (Object x, Object y)
 
static bool operator!= (Object x, Object y)
 

Static Public Attributes

static Camera.CameraCallback onPreCull
 
static Camera.CameraCallback onPreRender
 
static Camera.CameraCallback onPostRender
 

Package Functions

void GetComponentFastPath (Type type, IntPtr oneFurtherThanResultValue)
 

Static Package Functions

static Object FindObjectFromInstanceID (int instanceID)
 

Static Package Attributes

static int OffsetOfInstanceIDInCPlusPlusObject
 

Properties

float nearClipPlane [get]
 
float farClipPlane [get]
 
float fieldOfView [get]
 
float orthographicSize [get]
 
float depth [get]
 
float aspect [get]
 
int cullingMask [get]
 
int eventMask [get]
 
Color backgroundColor [set]
 
CameraClearFlags clearFlags [get, set]
 
Rect rect [get, set]
 
Rect pixelRect [get]
 
int pixelWidth [get]
 
int pixelHeight [get]
 
RenderTexture targetTexture [get, set]
 
int targetDisplay [get]
 
Matrix4x4 projectionMatrix [set]
 
static Camera main [get]
 
static Camera current [get]
 
static int allCamerasCount [get]
 
bool enabled [get, set]
 
bool isActiveAndEnabled [get]
 
Transform transform [get]
 
GameObject gameObject [get]
 
string name [get, set]
 
HideFlags hideFlags [set]
 

Private Member Functions

Ray ScreenPointToRay (Vector2 pos, Camera.MonoOrStereoscopicEye eye)
 
void set_backgroundColor_Injected (Color value)
 
void get_rect_Injected ([Out] Rect ret)
 
void set_rect_Injected (Rect value)
 
void get_pixelRect_Injected ([Out] Rect ret)
 
void set_projectionMatrix_Injected (Matrix4x4 value)
 
void WorldToScreenPoint_Injected (Vector3 position, Camera.MonoOrStereoscopicEye eye, [Out] Vector3 ret)
 
void ViewportToWorldPoint_Injected (Vector3 position, Camera.MonoOrStereoscopicEye eye, [Out] Vector3 ret)
 
void ScreenToWorldPoint_Injected (Vector3 position, Camera.MonoOrStereoscopicEye eye, [Out] Vector3 ret)
 
void ScreenToViewportPoint_Injected (Vector3 position, [Out] Vector3 ret)
 
void ScreenPointToRay_Injected (Vector2 pos, Camera.MonoOrStereoscopicEye eye, [Out] Ray ret)
 
void GetComponentsForListInternal (Type searchType, object resultList)
 
IntPtr GetCachedPtr ()
 

Static Private Member Functions

static int GetAllCamerasCount ()
 
static int GetAllCamerasImpl ([NotNull("ArgumentNullException")][Out] Camera[] cam)
 
static void FireOnPreCull (Camera cam)
 
static void FireOnPreRender (Camera cam)
 
static void FireOnPostRender (Camera cam)
 
static bool CompareBaseObjects (Object lhs, Object rhs)
 
static bool IsNativeObjectAlive (Object o)
 
static void CheckNullArgument (object arg, string message)
 
static string ToString (Object obj)
 
static int GetOffsetOfInstanceIDInCPlusPlusObject ()
 
static Object Internal_CloneSingle ([NotNull("NullExceptionObject")] Object data)
 
static Object Internal_InstantiateSingle ([NotNull("NullExceptionObject")] Object data, Vector3 pos, Quaternion rot)
 
static string GetName ([NotNull("NullExceptionObject")] Object obj)
 
static void SetName ([NotNull("NullExceptionObject")] Object obj, string name)
 
static Object Internal_InstantiateSingle_Injected (Object data, Vector3 pos, Quaternion rot)
 

Private Attributes

IntPtr m_CachedPtr
 

Static Private Attributes

const string objectIsNullMessage = "The Object you want to instantiate is null."
 
const string cloneDestroyedMessage = "Instantiate failed because the clone was destroyed during creation. This can happen if DestroyImmediate is called in MonoBehaviour.Awake."
 

Detailed Description

Definition at line 18 of file Camera.cs.


The documentation for this class was generated from the following file: