Struct ActiveRange | DOTS Timeline | 0.4.0-preview.5
docs.unity3d.com
    Show / Hide Table of Contents

    Struct ActiveRange

    Component that defines the timer range that an Entity will have an active tag

    Namespace: Unity.Scheduler
    Syntax
    public struct ActiveRange : IComponentData

    Fields

    CompleteRange

    A range object representing the full representable range

    Declaration
    public static readonly ActiveRange CompleteRange
    Field Value
    Type Description
    ActiveRange

    End

    The end of the range (exclusive)

    Declaration
    public DiscreteTime End
    Field Value
    Type Description
    DiscreteTime

    Start

    The start of the range (inclusive)

    Declaration
    public DiscreteTime Start
    Field Value
    Type Description
    DiscreteTime

    Extension Methods

    ActiveRangeExtensions.IsValid(ActiveRange)
    ActiveRangeExtensions.Overlaps(ActiveRange, ActiveRange)
    ActiveRangeExtensions.Contains(ActiveRange, DiscreteTime)
    ActiveRangeExtensions.Contains(ActiveRange, ActiveRange)
    ActiveRangeExtensions.Length(ActiveRange)
    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