Click or drag to resize

SceneStateGetNodeIndex Method

Returns the node's index, which is its position relative to its siblings. This is only relevant and saved in scenes for cases where new nodes are added to an instanced or inherited scene among siblings from the base scene. Despite the name, this index is not related to the idx argument used here and in other methods.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public int GetNodeIndex(
	int idx
)

Parameters

idx
Type: SystemInt32

[Missing <param name="idx"/> documentation for "M:Godot.SceneState.GetNodeIndex(System.Int32)"]

Return Value

Type: Int32

[Missing <returns> documentation for "M:Godot.SceneState.GetNodeIndex(System.Int32)"]

See Also