Class Node | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class Node

    Inheritance
    System.Object
    Node
    SharedPlayableNode
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: GraphVisualizer
    Syntax
    public class Node

    Constructors

    Node(Object, Single, Boolean)

    Declaration
    public Node(object content, float weight = 1F, bool active = false)
    Parameters
    Type Name Description
    System.Object content
    System.Single weight
    System.Boolean active

    Properties

    active

    Declaration
    public bool active { get; }
    Property Value
    Type Description
    System.Boolean

    children

    Declaration
    public IList<Node> children { get; }
    Property Value
    Type Description
    System.Collections.Generic.IList<Node>

    content

    Declaration
    public object content { get; }
    Property Value
    Type Description
    System.Object

    depth

    Declaration
    public int depth { get; }
    Property Value
    Type Description
    System.Int32

    parent

    Declaration
    public Node parent { get; }
    Property Value
    Type Description
    Node

    weight

    Declaration
    public float weight { get; set; }
    Property Value
    Type Description
    System.Single

    Methods

    AddChild(Node)

    Declaration
    public void AddChild(Node child)
    Parameters
    Type Name Description
    Node child

    GetColor()

    Declaration
    public virtual Color GetColor()
    Returns
    Type Description
    Color

    GetContentType()

    Declaration
    public virtual Type GetContentType()
    Returns
    Type Description
    Type

    GetContentTypeName()

    Declaration
    public virtual string GetContentTypeName()
    Returns
    Type Description
    System.String

    GetContentTypeShortName()

    Declaration
    public virtual string GetContentTypeShortName()
    Returns
    Type Description
    System.String

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()
    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