AnimationNodeAnimation

package
v0.0.0-...-568b220 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2025 License: MIT Imports: 26 Imported by: 0

Documentation

Overview

Package AnimationNodeAnimation provides methods for working with AnimationNodeAnimation object instances.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Advanced

type Advanced = class

Advanced exposes a 1:1 low-level instance of the class, undocumented, for those who know what they are doing.

type Any

type Any interface {
	gd.IsClass
	AsAnimationNodeAnimation() Instance
}

type Extension

type Extension[T gdclass.Interface] struct{ gdclass.Extension[T, Instance] }

Extension can be embedded in a new struct to create an extension of this class. T should be the type that is embedding this Extension

func (*Extension[T]) AsAnimationNode

func (self *Extension[T]) AsAnimationNode() AnimationNode.Instance

func (*Extension[T]) AsAnimationNodeAnimation

func (self *Extension[T]) AsAnimationNodeAnimation() Instance

func (*Extension[T]) AsAnimationRootNode

func (self *Extension[T]) AsAnimationRootNode() AnimationRootNode.Instance

func (*Extension[T]) AsObject

func (self *Extension[T]) AsObject() [1]gd.Object

func (*Extension[T]) AsRefCounted

func (self *Extension[T]) AsRefCounted() [1]gd.RefCounted

func (*Extension[T]) AsResource

func (self *Extension[T]) AsResource() Resource.Instance

type ID

type ID Object.ID

ID is a typed object ID (reference) to an instance of this class, use it to store references to objects with unknown lifetimes, as an ID will not panic on use if the underlying object has been destroyed.

func (ID) Instance

func (id ID) Instance() (Instance, bool)

type Instance

type Instance [1]gdclass.AnimationNodeAnimation

A resource to add to an [AnimationNodeBlendTree]. Only has one output port using the [member animation] property. Used as an input for [AnimationNode]s that blend animations together.

var Nil Instance

Nil is a nil/null instance of the class. Equivalent to the zero value.

func New

func New() Instance

func (Instance) AdvanceOnStart

func (self Instance) AdvanceOnStart() bool

func (Instance) Animation

func (self Instance) Animation() string

func (Instance) AsAnimationNode

func (self Instance) AsAnimationNode() AnimationNode.Instance

func (Instance) AsAnimationNodeAnimation

func (self Instance) AsAnimationNodeAnimation() Instance

func (Instance) AsAnimationRootNode

func (self Instance) AsAnimationRootNode() AnimationRootNode.Instance

func (Instance) AsObject

func (self Instance) AsObject() [1]gd.Object

func (Instance) AsRefCounted

func (self Instance) AsRefCounted() [1]gd.RefCounted

func (Instance) AsResource

func (self Instance) AsResource() Resource.Instance

func (Instance) ID

func (self Instance) ID() ID

func (Instance) LoopMode

func (self Instance) LoopMode() Animation.LoopMode

func (Instance) PlayMode

func (self Instance) PlayMode() PlayMode

func (Instance) SetAdvanceOnStart

func (self Instance) SetAdvanceOnStart(value bool)

func (Instance) SetAnimation

func (self Instance) SetAnimation(value string)

func (Instance) SetLoopMode

func (self Instance) SetLoopMode(value Animation.LoopMode)

func (*Instance) SetObject

func (self *Instance) SetObject(obj [1]gd.Object) bool

func (Instance) SetPlayMode

func (self Instance) SetPlayMode(value PlayMode)

func (Instance) SetStartOffset

func (self Instance) SetStartOffset(value Float.X)

func (Instance) SetStretchTimeScale

func (self Instance) SetStretchTimeScale(value bool)

func (Instance) SetTimelineLength

func (self Instance) SetTimelineLength(value Float.X)

func (Instance) SetUseCustomTimeline

func (self Instance) SetUseCustomTimeline(value bool)

func (Instance) StartOffset

func (self Instance) StartOffset() Float.X

func (Instance) StretchTimeScale

func (self Instance) StretchTimeScale() bool

func (Instance) TimelineLength

func (self Instance) TimelineLength() Float.X

func (Instance) UseCustomTimeline

func (self Instance) UseCustomTimeline() bool

func (Instance) Virtual

func (self Instance) Virtual(name string) reflect.Value

type PlayMode

type PlayMode int //gd:AnimationNodeAnimation.PlayMode
const (
	/*Plays animation in forward direction.*/
	PlayModeForward PlayMode = 0
	/*Plays animation in backward direction.*/
	PlayModeBackward PlayMode = 1
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL