SceneState

A script interface to a scene file's data.

Maintains a list of resources, nodes, exported, and overridden properties, and built-in scripts associated with a scene.

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Enums

Constants
enum Constants
GenEditState
enum GenEditState

Functions

getConnectionBinds
Array getConnectionBinds(long idx)

Returns the list of bound parameters for the signal at idx.

getConnectionCount
long getConnectionCount()

Returns the number of signal connections in the scene.

getConnectionFlags
long getConnectionFlags(long idx)

Returns the flags for the signal at idx. See GodotObject's CONNECT_* flags.

getConnectionMethod
String getConnectionMethod(long idx)

Returns the method connected to the signal at idx.

getConnectionSignal
String getConnectionSignal(long idx)

Returns the name of the signal at idx.

getConnectionSource
NodePath getConnectionSource(long idx)

Returns the path to the node that owns the signal at idx, relative to the root node.

getConnectionTarget
NodePath getConnectionTarget(long idx)

Returns the path to the node that owns the method connected to the signal at idx, relative to the root node.

getNodeCount
long getNodeCount()

Returns the number of nodes in the scene.

getNodeGroups
PoolStringArray getNodeGroups(long idx)

Returns the list of group names associated with the node at idx.

getNodeIndex
long getNodeIndex(long idx)
getNodeInstance
Ref!PackedScene getNodeInstance(long idx)

Returns the scene for the node at idx or null if the node is not an instance.

getNodeInstancePlaceholder
String getNodeInstancePlaceholder(long idx)

Returns the path to the represented scene file if the node at idx is an InstancePlaceholder.

getNodeName
String getNodeName(long idx)

Returns the name of the node at idx.

getNodeOwnerPath
NodePath getNodeOwnerPath(long idx)

Returns the path to the owner of the node at idx, relative to the root node.

getNodePath
NodePath getNodePath(long idx, bool for_parent)

Returns the path to the node at idx.

getNodePropertyCount
long getNodePropertyCount(long idx)

Returns the number of exported or overridden properties for the node at idx.

getNodePropertyName
String getNodePropertyName(long idx, long prop_idx)

Returns the name of the property at prop_idx for the node at idx.

getNodePropertyValue
Variant getNodePropertyValue(long idx, long prop_idx)

Returns the value of the property at prop_idx for the node at idx.

getNodeType
String getNodeType(long idx)

Returns the type of the node at idx.

isNodeInstancePlaceholder
bool isNodeInstancePlaceholder(long idx)

Returns true if the node at idx is an InstancePlaceholder.

opAssign
SceneState opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(SceneState other)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Static functions

_new
SceneState _new()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

_classBinding
struct _classBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
ToRef as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta