Documentation
¶
Overview ¶
Package AnimationTree provides methods for working with AnimationTree object instances.
Index ¶
- type Advanced
- type AnimationProcessCallback
- type Any
- type Instance
- func (self Instance) AdvanceExpressionBaseNode() string
- func (self Instance) AnimPlayer() string
- func (self Instance) AsAnimationMixer() AnimationMixer.Instance
- func (self Instance) AsAnimationTree() Instance
- func (self Instance) AsNode() Node.Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) GetProcessCallback() gdclass.AnimationTreeAnimationProcessCallback
- func (self Instance) OnAnimationPlayerChanged(cb func())
- func (self Instance) SetAdvanceExpressionBaseNode(value string)
- func (self Instance) SetAnimPlayer(value string)
- func (self Instance) SetProcessCallback(mode gdclass.AnimationTreeAnimationProcessCallback)
- func (self Instance) SetTreeRoot(value [1]gdclass.AnimationRootNode)
- func (self Instance) TreeRoot() [1]gdclass.AnimationRootNode
- func (self *Instance) UnsafePointer() unsafe.Pointer
- func (self Instance) Virtual(name string) reflect.Value
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 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 (Instance) AdvanceExpressionBaseNode ¶
func (Instance) AnimPlayer ¶
func (Instance) AsAnimationMixer ¶
func (self Instance) AsAnimationMixer() AnimationMixer.Instance
func (Instance) AsAnimationTree ¶
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 (Instance) SetAnimPlayer ¶
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