docs.unity3d.com
    目次を表示する/隠す

    Class CameraCaptureBridge

    Bridge class for camera captures.

    Inheritance
    Object
    CameraCaptureBridge
    Namespace: UnityEngine.Rendering
    Syntax
    public static class CameraCaptureBridge : object

    Properties

    enabled

    Enable camera capture.

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

    Methods

    AddCaptureAction(Camera, Action<RenderTargetIdentifier, CommandBuffer>)

    Adds actions for camera capture

    Declaration
    public static void AddCaptureAction(Camera camera, Action<RenderTargetIdentifier, CommandBuffer> action)
    Parameters
    Type Name Description
    Camera camera

    The camera to add actions for

    Action<RenderTargetIdentifier, CommandBuffer> action

    The action to add

    GetCaptureActions(Camera)

    Provides the set actions to the renderer to be triggered at the end of the render loop for camera capture

    Declaration
    public static IEnumerator<Action<RenderTargetIdentifier, CommandBuffer>> GetCaptureActions(Camera camera)
    Parameters
    Type Name Description
    Camera camera

    The camera to get actions for

    Returns
    Type Description
    IEnumerator<Action<RenderTargetIdentifier, CommandBuffer>>

    Enumeration of actions

    RemoveCaptureAction(Camera, Action<RenderTargetIdentifier, CommandBuffer>)

    Removes actions for camera capture

    Declaration
    public static void RemoveCaptureAction(Camera camera, Action<RenderTargetIdentifier, CommandBuffer> action)
    Parameters
    Type Name Description
    Camera camera

    The camera to remove actions for

    Action<RenderTargetIdentifier, CommandBuffer> action

    The action to remove

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)