docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TestGraphInstance

    Inheritance
    object
    TestGraphInstance
    Implements
    IGraphInstance
    IDisposable
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEditor.VisualScriptingECSTests
    Assembly: solution.dll
    Syntax
    public abstract class TestGraphInstance : IGraphInstance, IDisposable

    Properties

    Name Description
    CurrentEntity
    EntityManager
    Random
    Time

    Methods

    Name Description
    AddEventValue(Value)
    DispatchEvent(EventNodeData, int)
    DispatchEvent(ulong, int, int)
    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    GetComponentDefaultValue(TypeReference, int)
    GetComponentValue(Entity, TypeReference, int)
    GetNextEvent(ref int, ulong, out NativeSlice<Value>)
    GetState<T>(in IStatefulNode<T>)
    GetString(StringReference)
    GetString(Entity)
    GetString128(StringReference)
    GetString32(StringReference)
    GetString4096(StringReference)
    GetString512(StringReference)
    GetString64(StringReference)
    GetTriggeredIndex(InputTriggerMultiPort, InputTriggerPort)
    HasConnectedValue(IInputDataPort)
    HasConnectedValue(IOutputDataPort)
    HasConnectedValue(IOutputTriggerPort)
    ReadBool(InputDataPort)
    ReadEntity(InputDataPort)
    ReadFloat(InputDataPort)
    ReadFloat2(InputDataPort)
    ReadFloat3(InputDataPort)
    ReadFloat4(InputDataPort)
    ReadInt(InputDataPort)
    ReadQuaternion(InputDataPort)
    ReadString(InputDataPort)
    ReadValue(InputDataPort)
    ReadValueOfType(InputDataPort, ValueType)
    RunNestedGraph(in GraphReference, Entity, int)

    Runs the nested graph immediately on the specified entity. If the nested graph activates a GraphTriggerOutput, it will be interrupted, resume the parent graph, then go back to the nested graph and so on

    SetComponentValue(Entity, TypeReference, int, Value)
    SetupState<TS>(in IStatefulNode<TS>)
    Trigger(OutputTriggerPort)

    Trigger execution from a Trigger output node

    TriggerGraphOutput(uint)

    Activates a graph trigger output and interrupt the current graph/frame execution/>

    Write(OutputDataPort, Value)
    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)