Table of Contents

Class NodeReference<T>

Namespace
Lime
Assembly
Lime.dll

A node reference is used for referencing to a node within a serialized scene by the node Id.

[YuzuSpecializeWith(typeof(Camera3D))]
[YuzuSpecializeWith(typeof(Spline))]
[YuzuSpecializeWith(typeof(Widget))]
public sealed class NodeReference<T> where T : Node

Type Parameters

T
Inheritance
NodeReference<T>
Inherited Members

Constructors

NodeReference()

public NodeReference()

NodeReference(string)

public NodeReference(string id)

Parameters

id string

Properties

Id

[YuzuMember]
public string Id { get; set; }

Property Value

string

Methods

Clone()

public NodeReference<T> Clone()

Returns

NodeReference<T>

GetNode(Node)

public T GetNode(Node root)

Parameters

root Node

Returns

T