docs.unity3d.com
    Show / Hide Table of Contents

    Class UniversalAdditionalCameraData

    Inheritance
    Object
    Object
    Component
    Behaviour
    MonoBehaviour
    UniversalAdditionalCameraData
    Inherited Members
    MonoBehaviour.IsInvoking()
    MonoBehaviour.CancelInvoke()
    MonoBehaviour.Invoke(String, Single)
    MonoBehaviour.InvokeRepeating(String, Single, Single)
    MonoBehaviour.CancelInvoke(String)
    MonoBehaviour.IsInvoking(String)
    MonoBehaviour.StartCoroutine(String)
    MonoBehaviour.StartCoroutine(String, Object)
    MonoBehaviour.StartCoroutine(IEnumerator)
    MonoBehaviour.StopCoroutine(IEnumerator)
    MonoBehaviour.StopCoroutine(Coroutine)
    MonoBehaviour.StopCoroutine(String)
    MonoBehaviour.StopAllCoroutines()
    MonoBehaviour.print(Object)
    MonoBehaviour.useGUILayout
    MonoBehaviour.runInEditMode
    Behaviour.enabled
    Behaviour.isActiveAndEnabled
    Component.GetComponent(Type)
    Component.GetComponent<T>()
    Component.TryGetComponent(Type, Component)
    Component.TryGetComponent<T>(T)
    Component.GetComponent(String)
    Component.GetComponentInChildren(Type, Boolean)
    Component.GetComponentInChildren(Type)
    Component.GetComponentInChildren<T>(Boolean)
    Component.GetComponentInChildren<T>()
    Component.GetComponentsInChildren(Type, Boolean)
    Component.GetComponentsInChildren(Type)
    Component.GetComponentsInChildren<T>(Boolean)
    Component.GetComponentsInChildren<T>(Boolean, List<T>)
    Component.GetComponentsInChildren<T>()
    Component.GetComponentsInChildren<T>(List<T>)
    UnityEngine.Component.GetComponentInParent(System.Type, System.Boolean)
    Component.GetComponentInParent(Type)
    UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
    Component.GetComponentInParent<T>()
    Component.GetComponentsInParent(Type, Boolean)
    Component.GetComponentsInParent(Type)
    Component.GetComponentsInParent<T>(Boolean)
    Component.GetComponentsInParent<T>(Boolean, List<T>)
    Component.GetComponentsInParent<T>()
    Component.GetComponents(Type)
    Component.GetComponents(Type, List<Component>)
    Component.GetComponents<T>(List<T>)
    Component.GetComponents<T>()
    Component.CompareTag(String)
    Component.SendMessageUpwards(String, Object, SendMessageOptions)
    Component.SendMessageUpwards(String, Object)
    Component.SendMessageUpwards(String)
    Component.SendMessageUpwards(String, SendMessageOptions)
    Component.SendMessage(String, Object)
    Component.SendMessage(String)
    Component.SendMessage(String, Object, SendMessageOptions)
    Component.SendMessage(String, SendMessageOptions)
    Component.BroadcastMessage(String, Object, SendMessageOptions)
    Component.BroadcastMessage(String, Object)
    Component.BroadcastMessage(String)
    Component.BroadcastMessage(String, SendMessageOptions)
    Component.transform
    Component.gameObject
    Component.tag
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, Boolean)
    Object.DontDestroyOnLoad(Object)
    Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
    Object.FindObjectOfType<T>()
    UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
    Object.FindObjectOfType(Type)
    Object.FindObjectOfType(Type, Boolean)
    Object.ToString()
    Object.name
    Object.hideFlags
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.Rendering.Universal
    Syntax
    [DisallowMultipleComponent]
    [RequireComponent(typeof(Camera))]
    [ImageEffectAllowedInSceneView]
    public class UniversalAdditionalCameraData : MonoBehaviour, ISerializationCallbackReceiver, IAdditionalData

    Properties

    allowXRRendering

    Returns true if this camera allows render in XR.

    Declaration
    public bool allowXRRendering { get; set; }
    Property Value
    Type Description
    Boolean

    antialiasing

    Returns the current anti-aliasing mode used by this camera. AntialiasingMode.

    Declaration
    public AntialiasingMode antialiasing { get; set; }
    Property Value
    Type Description
    AntialiasingMode

    antialiasingQuality

    Returns the current anti-aliasing quality used by this camera. antialiasingQuality.

    Declaration
    public AntialiasingQuality antialiasingQuality { get; set; }
    Property Value
    Type Description
    AntialiasingQuality

    cameraStack

    Returns the camera stack. Only valid for Base cameras. Overlay cameras have no stack and will return null. CameraRenderType.

    Declaration
    public List<Camera> cameraStack { get; }
    Property Value
    Type Description
    List<Camera>

    clearDepth

    If true, this camera will clear depth value before rendering. Only valid for Overlay cameras.

    Declaration
    public bool clearDepth { get; }
    Property Value
    Type Description
    Boolean

    dithering

    Returns true if this camera applies 8-bit dithering to the final render to reduce color banding

    Declaration
    public bool dithering { get; set; }
    Property Value
    Type Description
    Boolean

    renderPostProcessing

    Returns true if this camera should render post-processing.

    Declaration
    public bool renderPostProcessing { get; set; }
    Property Value
    Type Description
    Boolean

    renderShadows

    Controls if this camera should render shadows.

    Declaration
    public bool renderShadows { get; set; }
    Property Value
    Type Description
    Boolean

    renderType

    Returns the camera renderType. CameraRenderType.

    Declaration
    public CameraRenderType renderType { get; set; }
    Property Value
    Type Description
    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.

    Declaration
    public CameraOverrideOption requiresColorOption { get; set; }
    Property Value
    Type Description
    CameraOverrideOption

    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.

    Declaration
    public bool requiresColorTexture { get; set; }
    Property Value
    Type Description
    Boolean

    requiresDepthOption

    Controls if a camera should render depth. The depth is available to be bound in shaders as _CameraDepthTexture. CameraOverrideOption

    Declaration
    public CameraOverrideOption requiresDepthOption { get; set; }
    Property Value
    Type Description
    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.

    Declaration
    public bool requiresDepthTexture { get; set; }
    Property Value
    Type Description
    Boolean

    requiresVolumeFrameworkUpdate

    Returns true if this camera requires the volume framework to be updated every frame.

    Declaration
    public bool requiresVolumeFrameworkUpdate { get; }
    Property Value
    Type Description
    Boolean

    scriptableRenderer

    Returns the ScriptableRenderer that is used to render this camera.

    Declaration
    public ScriptableRenderer scriptableRenderer { get; }
    Property Value
    Type Description
    ScriptableRenderer

    stopNaN

    Returns true if this camera should automatically replace NaN/Inf in shaders by a black pixel to avoid breaking some effects.

    Declaration
    public bool stopNaN { get; set; }
    Property Value
    Type Description
    Boolean

    version

    Declaration
    public float version { get; }
    Property Value
    Type Description
    Single

    volumeLayerMask

    Returns the selected scene-layers affecting this camera.

    Declaration
    public LayerMask volumeLayerMask { get; set; }
    Property Value
    Type Description
    LayerMask

    volumeStack

    Declaration
    public VolumeStack volumeStack { get; set; }
    Property Value
    Type Description
    UnityEngine.Rendering.VolumeStack

    volumeTrigger

    Returns the Transform that acts as a trigger for Volume blending.

    Declaration
    public Transform volumeTrigger { get; set; }
    Property Value
    Type Description
    Transform

    Methods

    OnAfterDeserialize()

    Declaration
    public void OnAfterDeserialize()
    Implements
    ISerializationCallbackReceiver.OnAfterDeserialize()

    OnBeforeSerialize()

    Declaration
    public void OnBeforeSerialize()
    Implements
    ISerializationCallbackReceiver.OnBeforeSerialize()

    OnDrawGizmos()

    Declaration
    public void OnDrawGizmos()

    SetRenderer(Int32)

    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.

    Declaration
    public void SetRenderer(int index)
    Parameters
    Type Name Description
    Int32 index

    The index that maps to the RendererData list on the currently assigned Render Pipeline Asset

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 24 September 2021