Table of Contents

Class Node_GD_CB_Extension

Namespace
Godot
Assembly
com.cobilas.godot.utility.dll
public static class Node_GD_CB_Extension
Inheritance
Node_GD_CB_Extension
Inherited Members

Methods

FindNodeByName(Node, string)

Get a node from name.

By default, the method looks for a node of type node.(Type typeNode = typeof(Godot.Node))

By default, the method searches recursively.(bool recusive = true)

public static Node? FindNodeByName(this Node N, string name)

Parameters

N Node
name string

The node name

Returns

Node

FindNodeByName(Node, string, bool)

Get a node from name.

By default, the method looks for a node of type node.(Type typeNode = typeof(Godot.Node))

public static Node? FindNodeByName(this Node N, string name, bool recusive)

Parameters

N Node
name string

The node name

recusive bool

Also look for your children.

Returns

Node

FindNodeByName(Node, string, Type, bool)

Get a node from name.

public static Node? FindNodeByName(this Node N, string name, Type typeNode, bool recusive)

Parameters

N Node
name string

The node name

typeNode Type

The type to look for.

recusive bool

Also look for your children.

Returns

Node

FindNodeByName<T>(Node, string)

Get a node from name.

By default, the method searches recursively.(bool recusive = true)

public static T FindNodeByName<T>(this Node N, string name) where T : Node

Parameters

N Node
name string

The node name

Returns

T

Type Parameters

T

FindNodeByName<T>(Node, string, bool)

Get a node from name.

public static T FindNodeByName<T>(this Node N, string name, bool recusive) where T : Node

Parameters

N Node
name string

The node name

recusive bool

Also look for your children.

Returns

T

Type Parameters

T

The type to look for.

FindNodes(Node, Type)

Get the nodes from a type.

By default, the method searches recursively.(bool recusive = true)

public static Node[] FindNodes(this Node N, Type typeNode)

Parameters

N Node
typeNode Type

The type to look for.

Returns

Node[]

Returns a list of nodes.

FindNodes(Node, Type, bool)

Get the nodes from a type.

public static Node[] FindNodes(this Node N, Type typeNode, bool recusive)

Parameters

N Node
typeNode Type

The type to look for.

recusive bool

Also look for your children.

Returns

Node[]

Returns a list of nodes.

FindNodes<T>(Node)

Get the nodes from a type.

By default, the method searches recursively.(bool recusive = true)

public static T[] FindNodes<T>(this Node N) where T : Node

Parameters

N Node

Returns

T[]

Returns a list of nodes.

Type Parameters

T

The type to look for.

FindNodes<T>(Node, bool)

Get the nodes from a type.

public static T[] FindNodes<T>(this Node N, bool recusive) where T : Node

Parameters

N Node
recusive bool

Also look for your children.

Returns

T[]

Returns a list of nodes.

Type Parameters

T

The type to look for.

GetNodePosition(Node)

public static Vector3D GetNodePosition(this Node N)

Parameters

N Node

Returns

Vector3D

GetNodeRotation(Node)

public static Vector3D GetNodeRotation(this Node N)

Parameters

N Node

Returns

Vector3D

GetNodeScale(Node)

public static Vector3D GetNodeScale(this Node N)

Parameters

N Node

Returns

Vector3D

Print(Node, params object[])

public static void Print(this Node N, params object[] args)

Parameters

N Node
args object[]

SetNodePosition(Node, Vector3D)

public static void SetNodePosition(this Node N, Vector3D position)

Parameters

N Node
position Vector3D

SetNodeRotation(Node, Vector3D)

public static void SetNodeRotation(this Node N, Vector3D rotation)

Parameters

N Node
rotation Vector3D

SetNodeScale(Node, Vector3D)

public static void SetNodeScale(this Node N, Vector3D scale)

Parameters

N Node
scale Vector3D