docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct CustomPassUtils.OverrideCameraRendering

    Overrides the current camera, changing all the matrices and view parameters for the new one. It allows you to render objects from another camera, which can be useful in custom passes for example.

    Implements
    IDisposable
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
    Syntax
    public struct CustomPassUtils.OverrideCameraRendering : IDisposable

    Constructors

    Name Description
    OverrideCameraRendering(CustomPassContext, Camera)

    Overrides the current camera, changing all the matrices and view parameters for the new one.

    OverrideCameraRendering(CustomPassContext, Camera, float)

    Overrides the current camera, changing all the matrices and view parameters for the new one.

    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)