docs.unity3d.com
    Show / Hide Table of Contents

    Struct RatingConfiguration

    Defines how a condition's match rating will be evaluated

    Namespace: Unity.MARS.Conditions
    Syntax
    [MovedFrom("Unity.MARS")]
    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023