docs.unity.cn
    Show / Hide Table of Contents

    Class PrintMessage

    Prints a periodic string message on the input port.

    Inheritance
    Object
    Object
    ScriptableObject
    NodeRuntime
    PrintMessage
    Inherited Members
    NodeRuntime._parent
    NodeRuntime._portList
    NodeRuntime._queryPath
    NodeRuntime.QueryPath
    NodeRuntime._tickCPUTimeNs
    NodeRuntime.TickCPUTimeNs
    NodeRuntime.PortDataList
    NodeRuntime.Initialize(SystemGraphComponent)
    NodeRuntime.InternalInitialize()
    NodeRuntime.Start()
    NodeRuntime.Enable(Scheduler.ClockState)
    NodeRuntime.Disable()
    NodeRuntime.Update()
    NodeRuntime.FixedUpdate()
    NodeRuntime.OnPortAdded(String, Type, String, PortDirection, FieldExtra, IPortType)
    NodeRuntime.OnPortRemoved(String)
    NodeRuntime.InitializeDynamicPorts(SystemGraphComponent)
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(String)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, Boolean)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
    Object.FindObjectOfType<T>()
    UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindObjectOfType(Type, Boolean)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: Mechatronics.SystemGraph
    Syntax
    [NodeCategory("Debug", "PrintMessage", NodeTick.Synchronous, (LifeCycle)0, 0F, NodeMode.Standard, false, FrequencyHint = 1)]
    public class PrintMessage : NodeRuntime

    Fields

    message

    Input message port.

    Declaration
    [Field("Message", PortDirection.Left, FieldExtra.Read)]
    [SerializeField]
    public PortType<string> message
    Field Value
    Type Description
    PortType<String>

    Methods

    OnTick(Double, Double, Scheduler.ClockState, Scheduler.Signal)

    OnTick event received from the scheduler for this node waveform. This is received for every rising edge of the waveform at the frequency configured in the scheduler.

    Declaration
    public override bool OnTick(double now, double eventTime, Scheduler.ClockState clockState, Scheduler.Signal signal)
    Parameters
    Type Name Description
    Double now

    The current time in seconds of the scheduler clocksource

    Double eventTime

    The current time in seconds of the scheduler waveform. This is independant from the clocksource time and aligned to every rising edge time in the waveform.

    Scheduler.ClockState clockState

    The current parameters of the waveform event associated to this node

    Scheduler.Signal signal

    Signals that the scheduler pass to the OnTick event receiver. These are signals that describe the action that should be done in the Node. For example, integrate this tick as multiple events.

    Returns
    Type Description
    Boolean

    Returns true if time integration was performed

    Overrides
    NodeRuntime.OnTick(Double, Double, Scheduler.ClockState, Scheduler.Signal)
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, October 18, 2022
    Terms of use