Documentation
¶
Overview ¶
Package CallbackTweener provides methods for working with CallbackTweener object instances.
Index ¶
- type Advanced
- type Any
- type Instance
- func (self Instance) AsCallbackTweener() Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsRefCounted() [1]gd.RefCounted
- func (self Instance) AsTweener() Tweener.Instance
- func (self Instance) SetDelay(delay Float.X) [1]gdclass.CallbackTweener
- 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 Instance ¶
type Instance [1]gdclass.CallbackTweener
[CallbackTweener] is used to call a method in a tweening sequence. See [method Tween.tween_callback] for more usage information. The tweener will finish automatically if the callback's target object is freed. [b]Note:[/b] [method Tween.tween_callback] is the only correct way to create [CallbackTweener]. Any [CallbackTweener] created manually will not function correctly.
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AsCallbackTweener ¶
func (Instance) AsRefCounted ¶
func (self Instance) AsRefCounted() [1]gd.RefCounted
func (Instance) SetDelay ¶
func (self Instance) SetDelay(delay Float.X) [1]gdclass.CallbackTweener
Makes the callback call delayed by given time in seconds. [b]Example:[/b] Call [method Node.queue_free] after 2 seconds: [codeblock] var tween = get_tree().create_tween() tween.tween_callback(queue_free).set_delay(2) [/codeblock]