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

    Class StandardFrameRateExtensions

    A class that contains extension methods for StandardFrameRate.

    Inheritance
    Object
    StandardFrameRateExtensions
    Namespace: Unity.LiveCapture
    Syntax
    public static class StandardFrameRateExtensions

    Methods

    ToValue(StandardFrameRate)

    Gets the FrameRate that corresponds to a StandardFrameRate value.

    Declaration
    public static FrameRate ToValue(this StandardFrameRate rate)
    Parameters
    Type Name Description
    StandardFrameRate rate

    The standard frame rate.

    Returns
    Type Description
    FrameRate

    The standard frame rate value.

    TryGetStandardRate(FrameRate, out StandardFrameRate)

    Gets the StandardFrameRate that corresponds to a FrameRate value.

    Declaration
    public static bool TryGetStandardRate(this FrameRate rate, out StandardFrameRate frameRate)
    Parameters
    Type Name Description
    FrameRate rate

    A frame rate.

    StandardFrameRate frameRate

    The standard frame rate, or langword_csharp_default if there is no corresponding standard frame rate.

    Returns
    Type Description
    Boolean

    true if there is a StandardFrameRate value that corresponds to rate; otherwise, false.

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