VisibilityEnabler

Enable certain nodes only when visible.

The VisibilityEnabler will disable RigidBody and AnimationPlayer nodes when they are not visible. It will only affect other nodes within the same scene as the VisibilityEnabler itself.

Members

Aliases

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

Enums

Constants
enum Constants
Enabler
enum Enabler

Functions

_nodeRemoved
void _nodeRemoved(GodotObject arg0)
isEnablerEnabled
bool isEnablerEnabled(long enabler)
opAssign
VisibilityEnabler opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(VisibilityEnabler 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.
setEnabler
void setEnabler(long enabler, bool enabled)

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

freezeBodies
bool freezeBodies [@property setter]

If true RigidBody nodes will be paused.

freezeBodies
bool freezeBodies [@property getter]

If true RigidBody nodes will be paused.

pauseAnimations
bool pauseAnimations [@property getter]
bool pauseAnimations [@property setter]

If true AnimationPlayer nodes will be paused.

Static functions

_new
VisibilityEnabler _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