docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct FloatRange

    A struct representing a continuous range of values

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: UnityEngine.Experimental.Perception.Randomization.Samplers
    Assembly: solution.dll
    Syntax
    [Serializable]
    public struct FloatRange

    Constructors

    Name Description
    FloatRange(float, float)

    Constructs a float range

    Fields

    Name Description
    maximum

    The largest value contained within the range

    minimum

    The smallest value contained within the range

    Methods

    Name Description
    Validate()

    Assert whether this range is valid

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)