docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method BeginRecording

    BeginRecording(int, float, float, float)

    Should be called to start a multi-frame recording session. Each final frame will be an accumulation of multiple sub-frames.

    Declaration
    public void BeginRecording(int samples, float shutterInterval, float shutterFullyOpen = 0, float shutterBeginsClosing = 1)
    Parameters
    Type Name Description
    int samples

    The number of subframes. Each recorded frame will be an accumulation of this number of framesIn case path tracing is enabled, this value will override the settign in the volume.

    float shutterInterval

    The duration the shutter of the virtual camera is open (for motion blur). Between 0 and 1.

    float shutterFullyOpen

    The time it takes for the shutter to fully open. Between 0 and 1.

    float shutterBeginsClosing

    The time when the shutter starts closing. Between 0 and 1.

    BeginRecording(int, float, AnimationCurve)

    Should be called to start a multi-frame recording session. Each final frame will be an accumulation of multiple sub-frames.

    Declaration
    public void BeginRecording(int samples, float shutterInterval, AnimationCurve shutterProfile)
    Parameters
    Type Name Description
    int samples

    The number of subframes. Each recorded frame will be an accumulation of this number of frames. In case path tracing is enabled, this value will override the settign in the volume.

    float shutterInterval

    The duration the shutter of the virtual camera is open (for motion blur). Between 0 and 1.

    AnimationCurve shutterProfile

    An animation curve (between 0 and 1) denoting the motion of the camera shutter.

    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)