docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Scheduler

    The Scheduler class is used to schedule emulation events of the systemgraph.

    Inheritance
    object
    Scheduler
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Mechatronics.SystemGraph
    Assembly: solution.dll
    Syntax
    public class Scheduler

    Fields

    Name Description
    Now

    Current time

    TimeAbsolute

    Time since start

    TimeAtSource

    Source time

    Properties

    Name Description
    NextFrameTime

    Gets the next frame time to schedule.

    NodeOrder

    Gets the initialization node order list.

    Waveform

    Gets the list of waveforms

    Methods

    Name Description
    DisableNodes()

    Call Disable() for all nodes. See EnableNodes() for details on order.

    EnableNodes()

    Call Enable() for all nodes. Order is random for Async nodes, but they will be called before Sync nodes. Sync nodes are enabled in the order they appear in the scheduler.

    FixedUpdate()

    Called from a Unity FixedUpdate() to signal a scheduler update.

    Initialize(SystemGraphComponent, SystemGraphObject)

    Initialize this scheduler component.

    Pause()

    Pause the scheduler.

    Resume()

    Resume after Pause().

    SetTimeScaleFactor(double)

    Set time scale.

    StartNodes()

    Call Start() for all nodes. See EnableNodes() for details on order.

    Step(int)

    Step the scheduler a integer number of steps.

    Update()

    Called from a Unity Update() to signal a scheduler update.

    UserUpdate(double)

    Called from a custom user update function to signal a scheduler update.

    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)