AnimationNodeOneShot

Plays an animation once in AnimationNodeBlendTree.

A resource to add to an AnimationNodeBlendTree. This node will execute a sub-animation and return once it finishes. Blend times for fading in and out can be customized, as well as filters.

Members

Aliases

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

Enums

Constants
enum Constants
MixMode
enum MixMode

Functions

getAutorestartDelay
double getAutorestartDelay()
getAutorestartRandomDelay
double getAutorestartRandomDelay()
getFadeinTime
double getFadeinTime()
getFadeoutTime
double getFadeoutTime()
getMixMode
AnimationNodeOneShot.MixMode getMixMode()
hasAutorestart
bool hasAutorestart()
isUsingSync
bool isUsingSync()
opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(AnimationNodeOneShot other)
opEquals
bool opEquals(typeof(null) n)
setAutorestart
void setAutorestart(bool enable)
setAutorestartDelay
void setAutorestartDelay(double enable)
setAutorestartRandomDelay
void setAutorestartRandomDelay(double enable)
setFadeinTime
void setFadeinTime(double time)
setFadeoutTime
void setFadeoutTime(double time)
setMixMode
void setMixMode(long mode)
setUseSync
void setUseSync(bool enable)
toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

autorestart
bool autorestart [@property getter]
bool autorestart [@property setter]

If true, the sub-animation will restart automatically after finishing.

autorestartDelay
double autorestartDelay [@property getter]
double autorestartDelay [@property setter]

The delay after which the automatic restart is triggered, in seconds.

autorestartRandomDelay
double autorestartRandomDelay [@property getter]
double autorestartRandomDelay [@property setter]

If autorestart is true, a random additional delay (in seconds) between 0 and this value will be added to autorestartDelay.

fadeinTime
double fadeinTime [@property getter]
double fadeinTime [@property setter]
fadeoutTime
double fadeoutTime [@property getter]
double fadeoutTime [@property setter]
sync
bool sync [@property getter]
bool sync [@property setter]

Static functions

_new
AnimationNodeOneShot _new()

Construct a new instance of AnimationNodeOneShot. Note: use memnew!AnimationNodeOneShot instead.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

GDNativeClassBinding
struct GDNativeClassBinding
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
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(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