AnimationTree

package
v0.0.0-...-d9f4d4e Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2025 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Package AnimationTree provides methods for working with AnimationTree 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 AnimationProcessCallback

type AnimationProcessCallback = gdclass.AnimationTreeAnimationProcessCallback //gd:AnimationTree.AnimationProcessCallback
const (
	AnimationProcessPhysics AnimationProcessCallback = 0
	AnimationProcessIdle    AnimationProcessCallback = 1
	AnimationProcessManual  AnimationProcessCallback = 2
)

type Any

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

type Instance

type Instance [1]gdclass.AnimationTree

A node used for advanced animation transitions in an [AnimationPlayer]. [b]Note:[/b] When linked with an [AnimationPlayer], several properties and methods of the corresponding [AnimationPlayer] will not function as expected. Playback and transitions should be handled using only the [AnimationTree] and its constituent [AnimationNode](s). The [AnimationPlayer] node should be used solely for adding, deleting, and editing animations.

var Nil Instance

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

func New

func New() Instance

func (Instance) AdvanceExpressionBaseNode

func (self Instance) AdvanceExpressionBaseNode() string

func (Instance) AnimPlayer

func (self Instance) AnimPlayer() string

func (Instance) AsAnimationMixer

func (self Instance) AsAnimationMixer() AnimationMixer.Instance

func (Instance) AsAnimationTree

func (self Instance) AsAnimationTree() Instance

func (Instance) AsNode

func (self Instance) AsNode() Node.Instance

func (Instance) AsObject

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

func (Instance) GetProcessCallback

func (self Instance) GetProcessCallback() gdclass.AnimationTreeAnimationProcessCallback

Returns the process notification in which to update animations.

func (Instance) OnAnimationPlayerChanged

func (self Instance) OnAnimationPlayerChanged(cb func())

func (Instance) SetAdvanceExpressionBaseNode

func (self Instance) SetAdvanceExpressionBaseNode(value string)

func (Instance) SetAnimPlayer

func (self Instance) SetAnimPlayer(value string)

func (Instance) SetProcessCallback

func (self Instance) SetProcessCallback(mode gdclass.AnimationTreeAnimationProcessCallback)

Sets the process notification in which to update animations.

func (Instance) SetTreeRoot

func (self Instance) SetTreeRoot(value [1]gdclass.AnimationRootNode)

func (Instance) TreeRoot

func (self Instance) TreeRoot() [1]gdclass.AnimationRootNode

func (*Instance) UnsafePointer

func (self *Instance) UnsafePointer() unsafe.Pointer

func (Instance) Virtual

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

Jump to

Keyboard shortcuts

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