docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CameraExtensions

    Contains extension methods for Camera class.

    Inheritance
    object
    CameraExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering.Universal
    Assembly: Unity.RenderPipelines.Universal.Runtime.dll
    Syntax
    public static class CameraExtensions

    Methods

    Name Description
    DestroyVolumeStack(Camera)

    Destroys the volume stack for this camera.

    DestroyVolumeStack(Camera, UniversalAdditionalCameraData)

    Destroys the volume stack for this camera.

    GetUniversalAdditionalCameraData(Camera)

    Universal Render Pipeline exposes additional rendering data in a separate component. This method returns the additional data component for the given camera or create one if it doesn't exist yet.

    GetVolumeFrameworkUpdateMode(Camera)

    Returns the VolumeFrameworkUpdateMode set on the camera.

    SetVolumeFrameworkUpdateMode(Camera, VolumeFrameworkUpdateMode)

    Sets the VolumeFrameworkUpdateMode for the camera.

    UpdateVolumeStack(Camera)

    Updates the volume stack for this camera. This function will only update the stack when the camera has VolumeFrameworkUpdateMode set to ViaScripting or when it set to UsePipelineSettings and the update mode on the Render Pipeline Asset is set to ViaScripting.

    UpdateVolumeStack(Camera, UniversalAdditionalCameraData)

    Updates the volume stack for this camera. This function will only update the stack when the camera has ViaScripting selected or if the camera is set to UsePipelineSettings and the Render Pipeline Asset is set to ViaScripting.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)