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

    Method IsConstantExpression

    IsConstantExpression<T>(T)

    Performs a compile-time check on whether the provided argument is known to be constant by Burst.

    Declaration
    public static bool IsConstantExpression<T>(T t)
        where T : struct
    Parameters
    Type Name Description
    T t

    The value to check whether it is constant.

    Returns
    Type Description
    Boolean

    True if Burst knows at compile-time that it is a constant, false otherwise.

    Type Parameters
    Name Description
    T

    IsConstantExpression(Void*)

    Performs a compile-time check on whether the provided argument is known to be constant by Burst.

    Declaration
    public static bool IsConstantExpression(void *t)
    Parameters
    Type Name Description
    Void* t

    The value to check whether it is constant.

    Returns
    Type Description
    Boolean

    True if Burst knows at compile-time that it is a constant, false otherwise.

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