Zdexby TheHolyOneZ
36,909 classes
Class

Camera

: Behaviour : Component : Object : Object
UnityEngine.Camera, UnityEngine.CoreModule 0x0020 (32 B) inherited 0x0018 UnityEngine.CoreModule.dll
0x00x0020

Members 8

OffsetSizeNameTypeFlagsDefault
—0x04kMinAperturefloatPublicStatic+1 flags0
—0x04kMaxAperturefloatPublicStatic+1 flags0
—0x04kMinBladeCountintPublicStatic+1 flags0
—0x04kMaxBladeCountintPublicStatic+1 flags0
0x04m_NonSerializedVersionuint1 flags—
0x08onPreCullCameraCallbackPublicStatic—
0x08onPreRenderCameraCallbackPublicStatic—
0x08onPostRenderCameraCallbackPublicStatic—
0x001C0x04unreflected bytes to end of Camera
Inherited from Object 5
OffsetSizeNameTypeFlagsDefault
—0x04kInstanceID_NoneintPrivateStatic+1 flags8
0x08m_CachedPtrlongPrivate—
0x04OffsetOfInstanceIDInCPlusPlusObjectintStatic+2 flags—
—0x08objectIsNullMessagestringPrivateStatic+1 flags—
—0x08cloneDestroyedMessagestringPrivateStatic+1 flags—

Functions 232

SignatureFlagsNativeParams
void .ctor()Public+1 flags0x00
float get_nearClipPlane()Public+1 flags0x04
void set_nearClipPlane(float value)Public+1 flags0x04
float get_farClipPlane()Public+1 flags0x04
void set_farClipPlane(float value)Public+1 flags0x04
float get_fieldOfView()Public+1 flags0x04
void set_fieldOfView(float value)Public+1 flags0x04
void set_renderingPath(const RenderingPath& value)Public+1 flags0x04
RenderingPath get_actualRenderingPath()Public+1 flags0x04
bool get_allowHDR()Public+1 flags0x01
bool get_allowMSAA()Public+1 flags0x01
bool get_allowDynamicResolution()Public+1 flags0x01
float get_orthographicSize()Public+1 flags0x04
void set_orthographicSize(float value)Public+1 flags0x04
bool get_orthographic()Public+1 flags0x01
void set_orthographic(bool value)Public+1 flags0x01
OpaqueSortMode get_opaqueSortMode()Public+1 flags0x04
float get_depth()Public+1 flags0x04
float get_aspect()Public+1 flags0x04
void set_aspect(float value)Public+1 flags0x04
int get_cullingMask()Public+1 flags0x04
void set_cullingMask(int value)Public+1 flags0x04
int get_eventMask()Public+1 flags0x04
CameraType get_cameraType()Public+1 flags0x04
float[] GetLayerCullDistances()Private0x08
void SetLayerCullDistances(const float[]& d)Private0x08
float[] get_layerCullDistances()Public+1 flags0x08
void set_layerCullDistances(const float[]& value)Public+1 flags0x08
void set_useOcclusionCulling(bool value)Public+1 flags0x01
Color get_backgroundColor()Public+1 flags0x10
void set_backgroundColor(const Color& value)Public+1 flags0x10
CameraClearFlags get_clearFlags()Public+1 flags0x04
void set_clearFlags(const CameraClearFlags& value)Public+1 flags0x04
DepthTextureMode get_depthTextureMode()Public+1 flags0x04
void set_depthTextureMode(const DepthTextureMode& value)Public+1 flags0x04
bool get_usePhysicalProperties()Public+1 flags0x01
void set_usePhysicalProperties(bool value)Public+1 flags0x01
int get_iso()Public+1 flags0x04
void set_iso(int value)Public+1 flags0x04
float get_shutterSpeed()Public+1 flags0x04
void set_shutterSpeed(float value)Public+1 flags0x04
float get_aperture()Public+1 flags0x04
void set_aperture(float value)Public+1 flags0x04
float get_focusDistance()Public+1 flags0x04
void set_focusDistance(float value)Public+1 flags0x04
float get_focalLength()Public+1 flags0x04
void set_focalLength(float value)Public+1 flags0x04
int get_bladeCount()Public+1 flags0x04
void set_bladeCount(int value)Public+1 flags0x04
Vector2 get_curvature()Public+1 flags0x08
void set_curvature(const Vector2& value)Public+1 flags0x08
float get_barrelClipping()Public+1 flags0x04
void set_barrelClipping(float value)Public+1 flags0x04
float get_anamorphism()Public+1 flags0x04
void set_anamorphism(float value)Public+1 flags0x04
Vector2 get_sensorSize()Public+1 flags0x08
void set_sensorSize(const Vector2& value)Public+1 flags0x08
Vector2 get_lensShift()Public+1 flags0x08
void set_lensShift(const Vector2& value)Public+1 flags0x08
GateFitMode get_gateFit()Public+1 flags0x04
void set_gateFit(const GateFitMode& value)Public+1 flags0x04
Rect get_rect()Public+1 flags0x10
void set_rect(const Rect& value)Public+1 flags0x10
Rect get_pixelRect()Public+1 flags0x10
void set_pixelRect(const Rect& value)Public+1 flags0x10
int get_pixelWidth()Public+1 flags0x04
int get_pixelHeight()Public+1 flags0x04
int get_scaledPixelWidth()Public+1 flags0x04
int get_scaledPixelHeight()Public+1 flags0x04
RenderTexture get_targetTexture()Public+1 flags0x08
void set_targetTexture(RenderTexture value)Public+1 flags0x08
int get_targetDisplay()Public+1 flags0x04
Matrix4x4 get_cameraToWorldMatrix()Public+1 flags0x40
Matrix4x4 get_worldToCameraMatrix()Public+1 flags0x40
void set_worldToCameraMatrix(const Matrix4x4& value)Public+1 flags0x40
Matrix4x4 get_projectionMatrix()Public+1 flags0x40
void set_projectionMatrix(const Matrix4x4& value)Public+1 flags0x40
void set_nonJitteredProjectionMatrix(const Matrix4x4& value)Public+1 flags0x40
void set_useJitteredProjectionMatrixForTransparentRendering(bool value)Public+1 flags0x01
void ResetWorldToCameraMatrix()Public0x00
void ResetProjectionMatrix()Public0x00
Vector3 WorldToScreenPoint(const Vector3& position, const MonoOrStereoscopicEye& eye)Public0x0C
Vector3 WorldToViewportPoint(const Vector3& position, const MonoOrStereoscopicEye& eye)Public0x0C
Vector3 ViewportToWorldPoint(const Vector3& position, const MonoOrStereoscopicEye& eye)Public0x0C
Vector3 ScreenToWorldPoint(const Vector3& position, const MonoOrStereoscopicEye& eye)Public0x0C
Vector3 WorldToScreenPoint(const Vector3& position)Public0x0C
Vector3 WorldToViewportPoint(const Vector3& position)Public0x0C
Vector3 ViewportToWorldPoint(const Vector3& position)Public0x0C
Vector3 ScreenToWorldPoint(const Vector3& position)Public0x0C
Vector3 ScreenToViewportPoint(const Vector3& position)Public0x0C
Ray ViewportPointToRay(const Vector2& pos, const MonoOrStereoscopicEye& eye)Private0x18
Ray ViewportPointToRay(const Vector3& pos, const MonoOrStereoscopicEye& eye)Public0x18
Ray ViewportPointToRay(const Vector3& pos)Public0x18
Ray ScreenPointToRay(const Vector2& pos, const MonoOrStereoscopicEye& eye)Private0x18
Ray ScreenPointToRay(const Vector3& pos, const MonoOrStereoscopicEye& eye)Public0x18
Ray ScreenPointToRay(const Vector3& pos)Public0x18
float FocalLengthToFieldOfView(float focalLength, float sensorSize)PublicStatic0x04
float FieldOfViewToFocalLength(float fieldOfView, float sensorSize)PublicStatic0x04
Camera get_main()PublicStatic+1 flags0x08
Camera get_current()PublicStatic+1 flags0x08
Camera get_currentInternal()PrivateStatic+1 flags0x08
bool get_stereoEnabled()Public+1 flags0x01
StereoTargetEyeMask get_stereoTargetEye()Public+1 flags0x04
StereoTargetEyeMask get_stereoTargetEyeInternal()2 flags0x04
MonoOrStereoscopicEye get_stereoActiveEye()Public+1 flags0x04
Matrix4x4 GetStereoNonJitteredProjectionMatrix(const StereoscopicEye& eye)Public0x40
void CopyStereoDeviceProjectionMatrixToNonJittered(const StereoscopicEye& eye)Public0x04
Matrix4x4 GetStereoProjectionMatrix(const StereoscopicEye& eye)Public0x40
void SetStereoProjectionMatrix(const StereoscopicEye& eye, const Matrix4x4& matrix)Public0x40
void ResetStereoProjectionMatrices()Public0x00
void SetStereoViewMatrix(const StereoscopicEye& eye, const Matrix4x4& matrix)Public0x40
int GetAllCamerasCount()PrivateStatic0x04
int GetAllCamerasImpl(const Camera[]& cam)PrivateStatic0x08
int get_allCamerasCount()PublicStatic+1 flags0x04
Camera[] get_allCameras()PublicStatic+1 flags0x08
int GetAllCameras(const Camera[]& cameras)PublicStatic0x08
void Render()Public0x00
bool get_isProcessingRenderRequest()Public+1 flags0x01
void SetupCurrent(Camera cur)PublicStatic0x08
void AddCommandBufferImpl(const CameraEvent& evt, CommandBuffer buffer)Private0x08
void RemoveCommandBufferImpl(const CameraEvent& evt, CommandBuffer buffer)Private0x08
void AddCommandBuffer(const CameraEvent& evt, CommandBuffer buffer)Public0x08
void RemoveCommandBuffer(const CameraEvent& evt, CommandBuffer buffer)Public0x08
void FireOnPreCull(Camera cam)PrivateStatic0x08
void FireOnPreRender(Camera cam)PrivateStatic0x08
void FireOnPostRender(Camera cam)PrivateStatic0x08
void BumpNonSerializedVersion(Camera cam)PrivateStatic0x08
bool TryGetCullingParameters(bool stereoAware, ref ScriptableCullingParameters& cullingParameters)Public0x638
bool GetCullingParameters_Internal(Camera camera, bool stereoAware, ref ScriptableCullingParameters& cullingParameters, int managedCullingParametersSize)PrivateStatic0x638
float get_nearClipPlane_Injected(long _unity_self)PrivateStatic0x08
void set_nearClipPlane_Injected(long _unity_self, float value)PrivateStatic0x08
float get_farClipPlane_Injected(long _unity_self)PrivateStatic0x08
void set_farClipPlane_Injected(long _unity_self, float value)PrivateStatic0x08
float get_fieldOfView_Injected(long _unity_self)PrivateStatic0x08
void set_fieldOfView_Injected(long _unity_self, float value)PrivateStatic0x08
void set_renderingPath_Injected(long _unity_self, const RenderingPath& value)PrivateStatic0x08
RenderingPath get_actualRenderingPath_Injected(long _unity_self)PrivateStatic0x08
bool get_allowHDR_Injected(long _unity_self)PrivateStatic0x08
bool get_allowMSAA_Injected(long _unity_self)PrivateStatic0x08
bool get_allowDynamicResolution_Injected(long _unity_self)PrivateStatic0x08
float get_orthographicSize_Injected(long _unity_self)PrivateStatic0x08
void set_orthographicSize_Injected(long _unity_self, float value)PrivateStatic0x08
bool get_orthographic_Injected(long _unity_self)PrivateStatic0x08
void set_orthographic_Injected(long _unity_self, bool value)PrivateStatic0x08
OpaqueSortMode get_opaqueSortMode_Injected(long _unity_self)PrivateStatic0x08
float get_depth_Injected(long _unity_self)PrivateStatic0x08
float get_aspect_Injected(long _unity_self)PrivateStatic0x08
void set_aspect_Injected(long _unity_self, float value)PrivateStatic0x08
int get_cullingMask_Injected(long _unity_self)PrivateStatic0x08
void set_cullingMask_Injected(long _unity_self, int value)PrivateStatic0x08
int get_eventMask_Injected(long _unity_self)PrivateStatic0x08
CameraType get_cameraType_Injected(long _unity_self)PrivateStatic0x08
void GetLayerCullDistances_Injected(long _unity_self, ref BlittableArrayWrapper& ret)PrivateStatic0x10
void SetLayerCullDistances_Injected(long _unity_self, ref ManagedSpanWrapper& d)PrivateStatic0x10
void set_useOcclusionCulling_Injected(long _unity_self, bool value)PrivateStatic0x08
void get_backgroundColor_Injected(long _unity_self, ref Color& ret)PrivateStatic0x10
void set_backgroundColor_Injected(long _unity_self, ref Color& value)PrivateStatic0x10
CameraClearFlags get_clearFlags_Injected(long _unity_self)PrivateStatic0x08
void set_clearFlags_Injected(long _unity_self, const CameraClearFlags& value)PrivateStatic0x08
DepthTextureMode get_depthTextureMode_Injected(long _unity_self)PrivateStatic0x08
void set_depthTextureMode_Injected(long _unity_self, const DepthTextureMode& value)PrivateStatic0x08
bool get_usePhysicalProperties_Injected(long _unity_self)PrivateStatic0x08
void set_usePhysicalProperties_Injected(long _unity_self, bool value)PrivateStatic0x08
int get_iso_Injected(long _unity_self)PrivateStatic0x08
void set_iso_Injected(long _unity_self, int value)PrivateStatic0x08
float get_shutterSpeed_Injected(long _unity_self)PrivateStatic0x08
void set_shutterSpeed_Injected(long _unity_self, float value)PrivateStatic0x08
float get_aperture_Injected(long _unity_self)PrivateStatic0x08
void set_aperture_Injected(long _unity_self, float value)PrivateStatic0x08
float get_focusDistance_Injected(long _unity_self)PrivateStatic0x08
void set_focusDistance_Injected(long _unity_self, float value)PrivateStatic0x08
float get_focalLength_Injected(long _unity_self)PrivateStatic0x08
void set_focalLength_Injected(long _unity_self, float value)PrivateStatic0x08
int get_bladeCount_Injected(long _unity_self)PrivateStatic0x08
void set_bladeCount_Injected(long _unity_self, int value)PrivateStatic0x08
void get_curvature_Injected(long _unity_self, ref Vector2& ret)PrivateStatic0x08
void set_curvature_Injected(long _unity_self, ref Vector2& value)PrivateStatic0x08
float get_barrelClipping_Injected(long _unity_self)PrivateStatic0x08
void set_barrelClipping_Injected(long _unity_self, float value)PrivateStatic0x08
float get_anamorphism_Injected(long _unity_self)PrivateStatic0x08
void set_anamorphism_Injected(long _unity_self, float value)PrivateStatic0x08
void get_sensorSize_Injected(long _unity_self, ref Vector2& ret)PrivateStatic0x08
void set_sensorSize_Injected(long _unity_self, ref Vector2& value)PrivateStatic0x08
void get_lensShift_Injected(long _unity_self, ref Vector2& ret)PrivateStatic0x08
void set_lensShift_Injected(long _unity_self, ref Vector2& value)PrivateStatic0x08
GateFitMode get_gateFit_Injected(long _unity_self)PrivateStatic0x08
void set_gateFit_Injected(long _unity_self, const GateFitMode& value)PrivateStatic0x08
void get_rect_Injected(long _unity_self, ref Rect& ret)PrivateStatic0x10
void set_rect_Injected(long _unity_self, ref Rect& value)PrivateStatic0x10
void get_pixelRect_Injected(long _unity_self, ref Rect& ret)PrivateStatic0x10
void set_pixelRect_Injected(long _unity_self, ref Rect& value)PrivateStatic0x10
int get_pixelWidth_Injected(long _unity_self)PrivateStatic0x08
int get_pixelHeight_Injected(long _unity_self)PrivateStatic0x08
int get_scaledPixelWidth_Injected(long _unity_self)PrivateStatic0x08
int get_scaledPixelHeight_Injected(long _unity_self)PrivateStatic0x08
long get_targetTexture_Injected(long _unity_self)PrivateStatic0x08
void set_targetTexture_Injected(long _unity_self, long value)PrivateStatic0x08
int get_targetDisplay_Injected(long _unity_self)PrivateStatic0x08
void get_cameraToWorldMatrix_Injected(long _unity_self, ref Matrix4x4& ret)PrivateStatic0x40
void get_worldToCameraMatrix_Injected(long _unity_self, ref Matrix4x4& ret)PrivateStatic0x40
void set_worldToCameraMatrix_Injected(long _unity_self, ref Matrix4x4& value)PrivateStatic0x40
void get_projectionMatrix_Injected(long _unity_self, ref Matrix4x4& ret)PrivateStatic0x40
void set_projectionMatrix_Injected(long _unity_self, ref Matrix4x4& value)PrivateStatic0x40
void set_nonJitteredProjectionMatrix_Injected(long _unity_self, ref Matrix4x4& value)PrivateStatic0x40
void set_useJitteredProjectionMatrixForTransparentRendering_Injected(long _unity_self, bool value)PrivateStatic0x08
void ResetWorldToCameraMatrix_Injected(long _unity_self)PrivateStatic0x08
void ResetProjectionMatrix_Injected(long _unity_self)PrivateStatic0x08
void WorldToScreenPoint_Injected(long _unity_self, ref Vector3& position, const MonoOrStereoscopicEye& eye, ref Vector3& ret)PrivateStatic0x0C
void WorldToViewportPoint_Injected(long _unity_self, ref Vector3& position, const MonoOrStereoscopicEye& eye, ref Vector3& ret)PrivateStatic0x0C
void ViewportToWorldPoint_Injected(long _unity_self, ref Vector3& position, const MonoOrStereoscopicEye& eye, ref Vector3& ret)PrivateStatic0x0C
void ScreenToWorldPoint_Injected(long _unity_self, ref Vector3& position, const MonoOrStereoscopicEye& eye, ref Vector3& ret)PrivateStatic0x0C
void ScreenToViewportPoint_Injected(long _unity_self, ref Vector3& position, ref Vector3& ret)PrivateStatic0x0C
void ViewportPointToRay_Injected(long _unity_self, ref Vector2& pos, const MonoOrStereoscopicEye& eye, ref Ray& ret)PrivateStatic0x18
void ScreenPointToRay_Injected(long _unity_self, ref Vector2& pos, const MonoOrStereoscopicEye& eye, ref Ray& ret)PrivateStatic0x18
long get_main_Injected()PrivateStatic0x08
long get_currentInternal_Injected()PrivateStatic0x08
bool get_stereoEnabled_Injected(long _unity_self)PrivateStatic0x08
StereoTargetEyeMask get_stereoTargetEyeInternal_Injected(long _unity_self)PrivateStatic0x08
MonoOrStereoscopicEye get_stereoActiveEye_Injected(long _unity_self)PrivateStatic0x08
void GetStereoNonJitteredProjectionMatrix_Injected(long _unity_self, const StereoscopicEye& eye, ref Matrix4x4& ret)PrivateStatic0x40
void CopyStereoDeviceProjectionMatrixToNonJittered_Injected(long _unity_self, const StereoscopicEye& eye)PrivateStatic0x08
void GetStereoProjectionMatrix_Injected(long _unity_self, const StereoscopicEye& eye, ref Matrix4x4& ret)PrivateStatic0x40
void SetStereoProjectionMatrix_Injected(long _unity_self, const StereoscopicEye& eye, ref Matrix4x4& matrix)PrivateStatic0x40
void ResetStereoProjectionMatrices_Injected(long _unity_self)PrivateStatic0x08
void SetStereoViewMatrix_Injected(long _unity_self, const StereoscopicEye& eye, ref Matrix4x4& matrix)PrivateStatic0x40
int GetAllCamerasImpl_Injected(const Camera[]& cam)PrivateStatic0x08
void Render_Injected(long _unity_self)PrivateStatic0x08
bool get_isProcessingRenderRequest_Injected(long _unity_self)PrivateStatic0x08
void SetupCurrent_Injected(long cur)PrivateStatic0x08
void AddCommandBufferImpl_Injected(long _unity_self, const CameraEvent& evt, long buffer)PrivateStatic0x08
void RemoveCommandBufferImpl_Injected(long _unity_self, const CameraEvent& evt, long buffer)PrivateStatic0x08
bool GetCullingParameters_Internal_Injected(long camera, bool stereoAware, ref ScriptableCullingParameters& cullingParameters, int managedCullingParametersSize)PrivateStatic0x638

Used by 268

types with a member, parameter or interface of this type