Skip to content

NodePath

Eduard Gushchin edited this page Jun 24, 2026 · 5 revisions

Home | API by Category | Complete API Index | API Compatibility

Field Value
Full name Electron2D.NodePath
Namespace Electron2D
Kind struct
Category Scene Tree

Overview

Represents the node path value type.

Syntax

public struct Electron2D.NodePath : System.IEquatable<Electron2D.NodePath>

Godot 4.7 C# profile compatibility

Profile: Electron2D 0.1.0 2D
Status: Partial / Not verified
Out of profile: yes
Godot reference: NodePath

Relative/absolute node path parsing and GetNode()/GetNodeOrNull() resolution baseline.

Remarks

This type is part of the Electron2D 0.1.0 Preview public API.

Thread Safety

Instances of this type are not synchronized. Access them from the thread that owns the object unless the member documentation states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

Members

Member Kind Summary
Electron2D.NodePath(System.String) Constructor Initializes a new instance of the NodePath type.
Equals(Electron2D.NodePath) Method Executes the equals operation.
Equals(System.Object) Method Executes the equals operation.
GetHashCode() Method Gets the hash code value.
GetName(System.Int32) Method Gets the name value.
GetNameCount() Method Gets the name count value.
GetSubname(System.Int32) Method Gets the subname value.
GetSubnameCount() Method Gets the subname count value.
IsAbsolute() Method Checks whether absolute is true.
IsEmpty() Method Checks whether empty is true.
ToString() Method Executes the to string operation.
op_Equality(Electron2D.NodePath, Electron2D.NodePath) Method Applies the == operator.
op_Implicit(System.String) Method Converts the supplied value to the target type.
op_Inequality(Electron2D.NodePath, Electron2D.NodePath) Method Applies the != operator.

Member Details

Electron2D.NodePath(System.String)

Kind: Constructor

public Electron2D.NodePath(System.String path)

Summary

Initializes a new instance of the NodePath type.

Remarks

The new instance follows the lifetime and validation rules of its declaring type.

Parameters

  • path: The path value.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.NodePath

Equals(Electron2D.NodePath)

Kind: Method

public System.Boolean Equals(Electron2D.NodePath)(Electron2D.NodePath other)

Summary

Executes the equals operation.

Remarks

This method follows the validation and lifetime rules of its declaring type.

Parameters

  • other: The other value.

Returns

The result of the operation.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.NodePath

Equals(System.Object)

Kind: Method

public System.Boolean Equals(System.Object)(System.Object obj)

Summary

Executes the equals operation.

Remarks

This method follows the validation and lifetime rules of its declaring type.

Parameters

  • obj: The obj value.

Returns

The result of the operation.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.NodePath

GetHashCode()

Kind: Method

public System.Int32 GetHashCode()()

Summary

Gets the hash code value.

Remarks

This method follows the validation and lifetime rules of its declaring type.

Returns

The current hash code value.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.NodePath

GetName(System.Int32)

Kind: Method

public System.String GetName(System.Int32)(System.Int32 index)

Summary

Gets the name value.

Remarks

This method follows the validation and lifetime rules of its declaring type.

Parameters

  • index: The index value.

Returns

The current name value.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.NodePath

GetNameCount()

Kind: Method

public System.Int32 GetNameCount()()

Summary

Gets the name count value.

Remarks

This method follows the validation and lifetime rules of its declaring type.

Returns

The current name count value.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.NodePath

GetSubname(System.Int32)

Kind: Method

public System.String GetSubname(System.Int32)(System.Int32 index)

Summary

Gets the subname value.

Remarks

This method follows the validation and lifetime rules of its declaring type.

Parameters

  • index: The index value.

Returns

The current subname value.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.NodePath

GetSubnameCount()

Kind: Method

public System.Int32 GetSubnameCount()()

Summary

Gets the subname count value.

Remarks

This method follows the validation and lifetime rules of its declaring type.

Returns

The current subname count value.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.NodePath

IsAbsolute()

Kind: Method

public System.Boolean IsAbsolute()()

Summary

Checks whether absolute is true.

Remarks

This method follows the validation and lifetime rules of its declaring type.

Returns

true when the condition is met; otherwise, false.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.NodePath

IsEmpty()

Kind: Method

public System.Boolean IsEmpty()()

Summary

Checks whether empty is true.

Remarks

This method follows the validation and lifetime rules of its declaring type.

Returns

true when the condition is met; otherwise, false.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.NodePath

ToString()

Kind: Method

public System.String ToString()()

Summary

Executes the to string operation.

Remarks

This method follows the validation and lifetime rules of its declaring type.

Returns

The result of the operation.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.NodePath

op_Equality(Electron2D.NodePath, Electron2D.NodePath)

Kind: Method

public static System.Boolean op_Equality(Electron2D.NodePath, Electron2D.NodePath)(Electron2D.NodePath left, Electron2D.NodePath right)

Summary

Applies the == operator.

Remarks

This operator returns a value derived from the supplied operands.

Parameters

  • left: The left value.
  • right: The right value.

Returns

The result of the operator.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.NodePath

op_Implicit(System.String)

Kind: Method

public static Electron2D.NodePath op_Implicit(System.String)(System.String path)

Summary

Converts the supplied value to the target type.

Remarks

The conversion follows the validation rules of the source and target types.

Parameters

  • path: The path value.

Returns

The converted value.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.NodePath

op_Inequality(Electron2D.NodePath, Electron2D.NodePath)

Kind: Method

public static System.Boolean op_Inequality(Electron2D.NodePath, Electron2D.NodePath)(Electron2D.NodePath left, Electron2D.NodePath right)

Summary

Applies the != operator.

Remarks

This operator returns a value derived from the supplied operands.

Parameters

  • left: The left value.
  • right: The right value.

Returns

The result of the operator.

Thread Safety

This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.

Since

This API is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.NodePath

Clone this wiki locally