Class GraphNode | Kinematica | 0.6.0-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class GraphNode

    Inheritance
    Object
    GraphNode
    Namespace: Unity.Kinematica.Editor
    Syntax
    public class GraphNode : Node

    Fields

    controlsContainer

    Declaration
    protected VisualElement controlsContainer
    Field Value
    Type Description
    VisualElement

    Properties

    arrayIndex

    Declaration
    public int arrayIndex { get; }
    Property Value
    Type Description
    Int32

    identifier

    Declaration
    public MemoryIdentifier identifier { get; }
    Property Value
    Type Description
    MemoryIdentifier

    type

    Declaration
    public Type type { get; }
    Property Value
    Type Description
    Type

    Methods

    DrawDefaultInspector()

    Declaration
    public virtual void DrawDefaultInspector()

    GetArray<T>(MemoryIdentifier)

    Declaration
    public MemoryArray<T> GetArray<T>(MemoryIdentifier identifier)
        where T : struct
    Parameters
    Type Name Description
    MemoryIdentifier identifier
    Returns
    Type Description
    MemoryArray<T>
    Type Parameters
    Name Description
    T

    GetRef<T>(MemoryIdentifier)

    Declaration
    public MemoryRef<T> GetRef<T>(MemoryIdentifier identifier)
        where T : struct
    Parameters
    Type Name Description
    MemoryIdentifier identifier
    Returns
    Type Description
    MemoryRef<T>
    Type Parameters
    Name Description
    T

    IsMovable()

    Declaration
    public override bool IsMovable()
    Returns
    Type Description
    Boolean

    Item<T>()

    Declaration
    public T Item<T>()
        where T : struct
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    OnCreate()

    Declaration
    public virtual void OnCreate()

    OnPreLateUpdate(ref MotionSynthesizer)

    Declaration
    public virtual void OnPreLateUpdate(ref MotionSynthesizer synthesizer)
    Parameters
    Type Name Description
    MotionSynthesizer synthesizer

    OnSelected(ref MotionSynthesizer)

    Declaration
    public virtual void OnSelected(ref MotionSynthesizer synthesizer)
    Parameters
    Type Name Description
    MotionSynthesizer synthesizer

    SetReadOnly(Boolean)

    Declaration
    public void SetReadOnly(bool flag)
    Parameters
    Type Name Description
    Boolean flag

    UpdateState()

    Declaration
    public void UpdateState()
    In This Article
    • Fields
      • controlsContainer
    • Properties
      • arrayIndex
      • identifier
      • type
    • Methods
      • DrawDefaultInspector()
      • GetArray<T>(MemoryIdentifier)
      • GetRef<T>(MemoryIdentifier)
      • IsMovable()
      • Item<T>()
      • OnCreate()
      • OnPreLateUpdate(ref MotionSynthesizer)
      • OnSelected(ref MotionSynthesizer)
      • SetReadOnly(Boolean)
      • UpdateState()
    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