terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
UnityEngine.Camera Class Referencesealed
+ Inheritance diagram for UnityEngine.Camera:
+ Collaboration diagram for UnityEngine.Camera:

Classes

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 ()
 
delegate void CameraCallback (Camera cam)
 
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 > ()
 
unsafe int GetInstanceID ()
 
override int GetHashCode ()
 
override bool Equals (object other)
 
static void Destroy (Object obj, [DefaultValue("0.0F")] float t)
 
static void DestroyImmediate (Object obj, [DefaultValue("false")] bool allowDestroyingAssets)
 
static Object[] FindObjectsOfType (Type type, bool includeInactive)
 
static void DontDestroyOnLoad ([NotNull("NullExceptionObject")] Object target)
 
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)
 
static void DestroyImmediate (Object obj)
 
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 Object FindObjectFromInstanceID (int instanceID)
 

Static Package Attributes

static int OffsetOfInstanceIDInCPlusPlusObject
 

Properties

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

Private Member Functions

Ray ScreenPointToRay (Vector2 pos, Camera.MonoOrStereoscopicEye eye)
 
static int GetAllCamerasCount ()
 
static int GetAllCamerasImpl ([NotNull("ArgumentNullException")][Out] Camera[] cam)
 
void set_backgroundColor_Injected (ref Color value)
 
void get_rect_Injected (out Rect ret)
 
void set_rect_Injected (ref Rect value)
 
void get_pixelRect_Injected (out Rect ret)
 
void set_projectionMatrix_Injected (ref Matrix4x4 value)
 
void WorldToScreenPoint_Injected (ref Vector3 position, Camera.MonoOrStereoscopicEye eye, out Vector3 ret)
 
void ViewportToWorldPoint_Injected (ref Vector3 position, Camera.MonoOrStereoscopicEye eye, out Vector3 ret)
 
void ScreenToWorldPoint_Injected (ref Vector3 position, Camera.MonoOrStereoscopicEye eye, out Vector3 ret)
 
void ScreenToViewportPoint_Injected (ref Vector3 position, out Vector3 ret)
 
void ScreenPointToRay_Injected (ref Vector2 pos, Camera.MonoOrStereoscopicEye eye, out Ray ret)
 
void GetComponentsForListInternal (Type searchType, object resultList)
 
IntPtr GetCachedPtr ()
 
static string ToString (Object obj)
 
static int GetOffsetOfInstanceIDInCPlusPlusObject ()
 
static Object Internal_CloneSingle ([NotNull("NullExceptionObject")] Object data)
 
static string GetName ([NotNull("NullExceptionObject")] Object obj)
 
static void SetName ([NotNull("NullExceptionObject")] Object obj, string name)
 
static Object Internal_InstantiateSingle_Injected (Object data, ref Vector3 pos, ref Quaternion rot)
 

Static Private Member Functions

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 Object Internal_InstantiateSingle ([NotNull("NullExceptionObject")] 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 21 of file Camera.cs.


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