docs.unity3d.com
    显示 / 隐藏目录

    Struct RatingConfiguration

    Defines how a condition's match rating will be evaluated

    Namespace: Unity.MARS
    Syntax
    public struct RatingConfiguration

    Constructors

    RatingConfiguration(Single, Single)

    Declaration
    public RatingConfiguration(float deadZone, float center = 0.5F)
    Parameters
    Type Name Description
    Single deadZone
    Single center

    Fields

    center

    Defines the point in the 0-1 range which will receive the highest possible match rating

    Declaration
    public readonly float center
    Field Value
    Type Description
    Single

    deadZone

    Defines a portion of the range around the center, inside which the data is considered a perfect match

    Declaration
    public readonly float deadZone
    Field Value
    Type Description
    Single

    MaxDeadZone

    Declaration
    public const float MaxDeadZone = 0.99F
    Field Value
    Type Description
    Single

    MaximumCenter

    Declaration
    public const float MaximumCenter = 0.999F
    Field Value
    Type Description
    Single

    MinimumCenter

    Declaration
    public const float MinimumCenter = 0.001F
    Field Value
    Type Description
    Single
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)