UnityEngine.Camera
class UnityEngine.Camera
Fields and Properties:
- float nearClipPlane
- float farClipPlane
- float fieldOfView
- UnityEngine.RenderingPath renderingPath
- UnityEngine.RenderingPath actualRenderingPath
- bool allowHDR
- bool allowMSAA
- bool allowDynamicResolution
- bool forceIntoRenderTexture
- float orthographicSize
- bool orthographic
- UnityEngine.Rendering.OpaqueSortMode opaqueSortMode
- UnityEngine.TransparencySortMode transparencySortMode
- UnityEngine.Vector3 transparencySortAxis
- float depth
- float aspect
- UnityEngine.Vector3 velocity
- int cullingMask
- int eventMask
- bool layerCullSpherical
- UnityEngine.CameraType cameraType
- ulong overrideSceneCullingMask
- float[] layerCullDistances
- bool useOcclusionCulling
- UnityEngine.Matrix4x4 cullingMatrix
- UnityEngine.Color backgroundColor
- UnityEngine.CameraClearFlags clearFlags
- UnityEngine.DepthTextureMode depthTextureMode
- bool clearStencilAfterLightingPass
- bool usePhysicalProperties
- UnityEngine.Vector2 sensorSize
- UnityEngine.Vector2 lensShift
- float focalLength
- UnityEngine.Camera.GateFitMode gateFit
- UnityEngine.Rect rect
- UnityEngine.Rect pixelRect
- int pixelWidth
- int pixelHeight
- int scaledPixelWidth
- int scaledPixelHeight
- UnityEngine.RenderTexture targetTexture
- UnityEngine.RenderTexture activeTexture
- int targetDisplay
- UnityEngine.Matrix4x4 cameraToWorldMatrix
- UnityEngine.Matrix4x4 worldToCameraMatrix
- UnityEngine.Matrix4x4 projectionMatrix
- UnityEngine.Matrix4x4 nonJitteredProjectionMatrix
- bool useJitteredProjectionMatrixForTransparentRendering
- UnityEngine.Matrix4x4 previousViewProjectionMatrix
- (static) UnityEngine.Camera UnityEngine.Camera.main
- (static) UnityEngine.Camera UnityEngine.Camera.current
- UnityEngine.SceneManagement.Scene scene
- bool stereoEnabled
- float stereoSeparation
- float stereoConvergence
- bool areVRStereoViewMatricesWithinSingleCullTolerance
- UnityEngine.StereoTargetEyeMask stereoTargetEye
- UnityEngine.Camera.MonoOrStereoscopicEye stereoActiveEye
- (static) int UnityEngine.Camera.allCamerasCount
- (static) UnityEngine.Camera[] UnityEngine.Camera.allCameras
- int commandBufferCount
- bool isOrthoGraphic
- (static) UnityEngine.Camera UnityEngine.Camera.mainCamera
- float near
- float far
- float fov
- bool hdr
- bool stereoMirrorMode
Constructors:
- UnityEngine.Camera.New()
Methods:
- void Reset()
- void ResetTransparencySortSettings()
- void ResetAspect()
- void ResetCullingMatrix()
- void SetReplacementShader(UnityEngine.Shader, string)
- void ResetReplacementShader()
- float GetGateFittedFieldOfView()
- UnityEngine.Vector2 GetGateFittedLensShift()
- void SetTargetBuffers(UnityEngine.RenderBuffer, UnityEngine.RenderBuffer)
- void SetTargetBuffers(UnityEngine.RenderBuffer[], UnityEngine.RenderBuffer)
- void ResetWorldToCameraMatrix()
- void ResetProjectionMatrix()
- UnityEngine.Matrix4x4 CalculateObliqueMatrix(UnityEngine.Vector4)
- UnityEngine.Vector3 WorldToScreenPoint(UnityEngine.Vector3, UnityEngine.Camera.MonoOrStereoscopicEye)
- UnityEngine.Vector3 WorldToScreenPoint(UnityEngine.Vector3)
- UnityEngine.Vector3 WorldToViewportPoint(UnityEngine.Vector3, UnityEngine.Camera.MonoOrStereoscopicEye)
- UnityEngine.Vector3 WorldToViewportPoint(UnityEngine.Vector3)
- UnityEngine.Vector3 ViewportToWorldPoint(UnityEngine.Vector3, UnityEngine.Camera.MonoOrStereoscopicEye)
- UnityEngine.Vector3 ViewportToWorldPoint(UnityEngine.Vector3)
- UnityEngine.Vector3 ScreenToWorldPoint(UnityEngine.Vector3, UnityEngine.Camera.MonoOrStereoscopicEye)
- UnityEngine.Vector3 ScreenToWorldPoint(UnityEngine.Vector3)
- UnityEngine.Vector3 ScreenToViewportPoint(UnityEngine.Vector3)
- UnityEngine.Vector3 ViewportToScreenPoint(UnityEngine.Vector3)
- UnityEngine.Ray ViewportPointToRay(UnityEngine.Vector3, UnityEngine.Camera.MonoOrStereoscopicEye)
- UnityEngine.Ray ViewportPointToRay(UnityEngine.Vector3)
- UnityEngine.Ray ScreenPointToRay(UnityEngine.Vector3, UnityEngine.Camera.MonoOrStereoscopicEye)
- UnityEngine.Ray ScreenPointToRay(UnityEngine.Vector3)
- void CalculateFrustumCorners(UnityEngine.Rect, float, UnityEngine.Camera.MonoOrStereoscopicEye, UnityEngine.Vector3[])
- (static) float UnityEngine.Camera.FocalLengthToFieldOfView(float, float)
- (static) float UnityEngine.Camera.FieldOfViewToFocalLength(float, float)
- (static) float UnityEngine.Camera.HorizontalToVerticalFieldOfView(float, float)
- (static) float UnityEngine.Camera.VerticalToHorizontalFieldOfView(float, float)
- UnityEngine.Matrix4x4 GetStereoNonJitteredProjectionMatrix(UnityEngine.Camera.StereoscopicEye)
- UnityEngine.Matrix4x4 GetStereoViewMatrix(UnityEngine.Camera.StereoscopicEye)
- void CopyStereoDeviceProjectionMatrixToNonJittered(UnityEngine.Camera.StereoscopicEye)
- UnityEngine.Matrix4x4 GetStereoProjectionMatrix(UnityEngine.Camera.StereoscopicEye)
- void SetStereoProjectionMatrix(UnityEngine.Camera.StereoscopicEye, UnityEngine.Matrix4x4)
- void ResetStereoProjectionMatrices()
- void SetStereoViewMatrix(UnityEngine.Camera.StereoscopicEye, UnityEngine.Matrix4x4)
- void ResetStereoViewMatrices()
- (static) int UnityEngine.Camera.GetAllCameras(UnityEngine.Camera[])
- bool RenderToCubemap(UnityEngine.Cubemap, int)
- bool RenderToCubemap(UnityEngine.Cubemap)
- bool RenderToCubemap(UnityEngine.RenderTexture, int)
- bool RenderToCubemap(UnityEngine.RenderTexture)
- bool RenderToCubemap(UnityEngine.RenderTexture, int, UnityEngine.Camera.MonoOrStereoscopicEye)
- void Render()
- void RenderWithShader(UnityEngine.Shader, string)
- void RenderDontRestore()
- (static) void UnityEngine.Camera.SetupCurrent(UnityEngine.Camera)
- void CopyFrom(UnityEngine.Camera)
- UnityEngine.Rendering.CommandBuffer[] GetCommandBuffers(UnityEngine.Rendering.CameraEvent)
- float GetScreenWidth()
- float GetScreenHeight()
- void DoClear()
- void ResetFieldOfView()
- void SetStereoViewMatrices(UnityEngine.Matrix4x4, UnityEngine.Matrix4x4)
- void SetStereoProjectionMatrices(UnityEngine.Matrix4x4, UnityEngine.Matrix4x4)
- UnityEngine.Matrix4x4[] GetStereoViewMatrices()
- UnityEngine.Matrix4x4[] GetStereoProjectionMatrices()