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

    Class ImageRecorderSettings

    A class that represents the settings of an Image Recorder.

    Inheritance
    Object
    RecorderSettings
    ImageRecorderSettings
    Inherited Members
    RecorderSettings.OutputFile
    RecorderSettings.Enabled
    RecorderSettings.Take
    RecorderSettings.FileNameGenerator
    RecorderSettings.RecordMode
    RecorderSettings.FrameRatePlayback
    RecorderSettings.FrameRate
    RecorderSettings.StartFrame
    RecorderSettings.EndFrame
    RecorderSettings.StartTime
    RecorderSettings.EndTime
    RecorderSettings.CapFrameRate
    RecorderSettings.IsPlatformSupported
    RecorderSettings.OnAfterDuplicate()
    RecorderSettings.HasErrors()
    Namespace: UnityEditor.Recorder
    Syntax
    public class ImageRecorderSettings : RecorderSettings, IAccumulation

    Constructors

    ImageRecorderSettings()

    Default constructor.

    Declaration
    public ImageRecorderSettings()

    Properties

    AccumulationSettings

    Stores the AccumulationSettings properties

    Declaration
    public AccumulationSettings AccumulationSettings { get; set; }
    Property Value
    Type Description
    AccumulationSettings

    CaptureAlpha

    Use this property to capture the alpha channel (True) or not (False) in the output.

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

    Alpha channel is captured only if the output image format supports it.

    CaptureHDR

    Use this property to capture the frames in HDR (if the setup supports it).

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

    Extension

    Stores the file extension used by this Recorder (without the dot).

    Declaration
    protected override string Extension { get; }
    Property Value
    Type Description
    String
    Overrides
    RecorderSettings.Extension

    imageInputSettings

    The settings of the input image.

    Declaration
    public ImageInputSettings imageInputSettings { get; set; }
    Property Value
    Type Description
    ImageInputSettings

    InputsSettings

    The list of settings of the Recorder Inputs.

    Declaration
    public override IEnumerable<RecorderInputSettings> InputsSettings { get; }
    Property Value
    Type Description
    IEnumerable<RecorderInputSettings>
    Overrides
    RecorderSettings.InputsSettings

    OutputFormat

    Stores the output image format currently used for this Recorder.

    Declaration
    public ImageRecorderSettings.ImageRecorderOutputFormat OutputFormat { get; set; }
    Property Value
    Type Description
    ImageRecorderSettings.ImageRecorderOutputFormat

    Methods

    GetAccumulationSettings()

    Use this method to get all the AccumulationSettings properties.

    Declaration
    public AccumulationSettings GetAccumulationSettings()
    Returns
    Type Description
    AccumulationSettings

    AccumulationSettings

    Implements
    IAccumulation.GetAccumulationSettings()

    IsAccumulationSupported()

    Indicates if the current Recorder supports Accumulation recording (True) or not (False).

    Declaration
    public override bool IsAccumulationSupported()
    Returns
    Type Description
    Boolean
    Overrides
    RecorderSettings.IsAccumulationSupported()

    ValidityCheck(List<String>)

    Declaration
    protected override bool ValidityCheck(List<string> errors)
    Parameters
    Type Name Description
    List<String> errors
    Returns
    Type Description
    Boolean
    Overrides
    RecorderSettings.ValidityCheck(List<String>)
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)