Showing content from https://docs.unity3d.com/Manual/sprite/../../ScriptReference/Camera.html below:
Unity - Scripting API: Camera
activeTexture Gets the temporary RenderTexture target for this Camera. actualRenderingPath The rendering path that is currently being used (Read Only). allowDynamicResolution Dynamic Resolution Scaling. allowHDR High dynamic range rendering. allowMSAA MSAA rendering. anamorphism The camera anamorphism. To use this property, enable UsePhysicalProperties. aperture The camera aperture. To use this property, enable UsePhysicalProperties. areVRStereoViewMatricesWithinSingleCullTolerance Determines whether the stereo view matrices are suitable to allow for a single pass cull. aspect The aspect ratio (width divided by height). backgroundColor The color with which the screen will be cleared. barrelClipping The camera barrel clipping. To use this property, enable UsePhysicalProperties. bladeCount The blade count in the lens of the camera. To use this property, enable UsePhysicalProperties. cameraToWorldMatrix Matrix that transforms from camera space to world space (Read Only). cameraType Identifies what kind of camera this is, using the CameraType enum. clearFlags How the camera clears the background. clearStencilAfterLightingPass Should the camera clear the stencil buffer after the deferred light pass? commandBufferCount Number of command buffers set up on this camera (Read Only). cullingMask This is used to render parts of the Scene selectively. cullingMatrix Sets a custom matrix for the camera to use for all culling queries. curvature The curvature of the blades. To use this property, enable UsePhysicalProperties. depth Camera's depth in the camera rendering order. depthTextureMode How and if camera generates a depth texture. eventMask Mask to select which layers can trigger events on the camera. farClipPlane The distance of the far clipping plane from the Camera, in world units. fieldOfView The vertical field of view of the Camera, in degrees. focalLength The camera focal length, expressed in millimeters. To use this property, enable UsePhysicalProperties. focusDistance The focus distance of the lens. To use this property, enable UsePhysicalProperties. forceIntoRenderTexture Should camera rendering be forced into a RenderTexture. gateFit There are two gates for a camera, the sensor gate and the resolution gate. The physical camera sensor gate is defined by the sensorSize property, the resolution gate is defined by the render target area. iso The sensor sensitivity of the camera. To use this property, enable UsePhysicalProperties. layerCullDistances Per-layer culling distances. layerCullSpherical How to perform per-layer culling for a Camera. lensShift The lens offset of the camera. The lens shift is relative to the sensor size. For example, a lens shift of 0.5 offsets the sensor by half its horizontal size. nearClipPlane The distance of the near clipping plane from the Camera, in world units. nonJitteredProjectionMatrix Get or set the raw projection matrix with no camera offset (no jittering). opaqueSortMode Opaque object sorting mode. orthographic Is the camera orthographic (true) or perspective (false)? orthographicSize Camera's half-size when in orthographic mode. overrideSceneCullingMask Sets the culling mask used to determine which objects from which Scenes to draw. See EditorSceneManager.SetSceneCullingMask. pixelHeight How tall is the camera in pixels (not accounting for dynamic resolution scaling) (Read Only). pixelRect Where on the screen is the camera rendered in pixel coordinates. pixelWidth How wide is the camera in pixels (not accounting for dynamic resolution scaling) (Read Only). previousViewProjectionMatrix Get the view projection matrix used on the last frame. projectionMatrix The 4x4 matrix that's used to transform world space coordinates to clip space coordinates. rect Where on the screen is the camera rendered in normalized coordinates. renderCloudsInSceneView Whether Unity renders clouds in the Scene view for this camera. renderingPath The rendering path that should be used, if possible. scaledPixelHeight How tall is the camera in pixels (accounting for dynamic resolution scaling) (Read Only). scaledPixelWidth How wide is the camera in pixels (accounting for dynamic resolution scaling) (Read Only). scene If not null, the camera will only render the contents of the specified Scene. sensorSize The size of the camera sensor, expressed in millimeters. shutterSpeed The exposure time of the camera, in seconts. To use this property, enable UsePhysicalProperties. stereoActiveEye Returns the eye that is currently rendering. If called when stereo is not enabled it will return Camera.MonoOrStereoscopicEye.Mono. If called during a camera rendering callback such as OnRenderImage it will return the currently rendering eye. If called outside of a rendering callback and stereo is enabled, it will return the default eye which is Camera.MonoOrStereoscopicEye.Left. stereoConvergence Distance to a point where virtual eyes converge. stereoEnabled Stereoscopic rendering. stereoSeparation The distance between the virtual eyes. Use this to query or set the current eye separation. Note that most VR devices provide this value, in which case setting the value will have no effect. stereoTargetEye Defines which eye of a VR display the Camera renders into. targetDisplay Set the target display for this Camera. targetTexture Destination render texture. transparencySortAxis An axis that describes the direction along which the distances of objects are measured for the purpose of sorting. transparencySortMode Transparent object sorting mode. useJitteredProjectionMatrixForTransparentRendering Should the jittered matrix be used for transparency rendering? useOcclusionCulling Whether or not the Camera will use occlusion culling during rendering. usePhysicalProperties Enable usePhysicalProperties to use physical camera properties to compute the field of view and the frustum. velocity Get the world-space speed of the camera (Read Only). worldToCameraMatrix Matrix that transforms from world to camera space.
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4