Class UniversalAdditionalCameraData
구현
상속된 멤버
네임스페이스: UnityEngine.Rendering.Universal
어셈블리: solution.dll
구문
[DisallowMultipleComponent]
[RequireComponent(typeof(Camera))]
[ImageEffectAllowedInSceneView]
[MovedFrom("UnityEngine.Rendering.LWRP")]
public class UniversalAdditionalCameraData : MonoBehaviour, ISerializationCallbackReceiver
프로퍼티
이름 | 설명 |
---|---|
antialiasing | Returns the current anti-aliasing mode used by this camera. AntialiasingMode. |
antialiasingQuality | Returns the current anti-aliasing quality used by this camera. antialiasingQuality. |
cameraStack | Returns the camera stack. Only valid for Base cameras. Overlay cameras have no stack and will return null. CameraRenderType. |
clearDepth | If true, this camera will clear depth value before rendering. Only valid for Overlay cameras. |
dithering | |
renderPostProcessing | Returns true if this camera should render post-processing. |
renderShadows | Controls if this camera should render shadows. |
renderType | Returns the camera renderType. CameraRenderType. |
requiresColorOption | Controls if a camera should copy the color contents of a camera after rendering opaques. The color texture is available to be bound in shaders as _CameraOpaqueTexture. |
requiresColorTexture | Returns true if this camera requires to color information in a texture. If enabled, color texture is available to be bound and read from shaders as _CameraOpaqueTexture after rendering skybox. |
requiresDepthOption | Controls if a camera should render depth. The depth is available to be bound in shaders as _CameraDepthTexture. CameraOverrideOption |
requiresDepthTexture | Returns true if this camera needs to render depth information in a texture. If enabled, depth texture is available to be bound and read from shaders as _CameraDepthTexture after rendering skybox. |
scriptableRenderer | Returns the ScriptableRenderer that is used to render this camera. |
stopNaN | |
version | |
volumeLayerMask | |
volumeTrigger |
메서드
이름 | 설명 |
---|---|
OnAfterDeserialize() | Implement this method to receive a callback after Unity deserializes your object. |
OnBeforeSerialize() | Implement this method to receive a callback before Unity serializes your object. |
OnDrawGizmos() | |
SetRenderer(int) | Use this to set this Camera's current ScriptableRenderer to one listed on the Render Pipeline Asset. Takes an index that maps to the list on the Render Pipeline Asset. |