Documentation
¶
Overview ¶
Package AudioStreamSynchronized provides methods for working with AudioStreamSynchronized object instances.
Index ¶
- Constants
- type Advanced
- type Any
- type Extension
- type ID
- type Instance
- func (self Instance) AsAudioStream() AudioStream.Instance
- func (self Instance) AsAudioStreamSynchronized() Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsRefCounted() [1]gd.RefCounted
- func (self Instance) AsResource() Resource.Instance
- func (self Instance) GetSyncStream(stream_index int) AudioStream.Instance
- func (self Instance) GetSyncStreamVolume(stream_index int) Float.X
- func (self Instance) ID() ID
- func (self Instance) SetStreamCount(value int)
- func (self Instance) SetSyncStream(stream_index int, audio_stream AudioStream.Instance)
- func (self Instance) SetSyncStreamVolume(stream_index int, volume_db Float.X)
- func (self Instance) StreamCount() int
- func (self *Instance) UnsafePointer() unsafe.Pointer
- func (self Instance) Virtual(name string) reflect.Value
Constants ¶
const MaxStreams int = 32 //gd:AudioStreamSynchronized.MAX_STREAMS
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 Extension ¶
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]) AsAudioStream ¶
func (self *Extension[T]) AsAudioStream() AudioStream.Instance
func (*Extension[T]) AsAudioStreamSynchronized ¶
func (*Extension[T]) AsRefCounted ¶
func (self *Extension[T]) AsRefCounted() [1]gd.RefCounted
func (*Extension[T]) AsResource ¶
type 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.
type Instance ¶
type Instance [1]gdclass.AudioStreamSynchronized
This is a stream that can be fitted with sub-streams, which will be played in-sync. The streams begin at exactly the same time when play is pressed, and will end when the last of them ends. If one of the sub-streams loops, then playback will continue.
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AsAudioStream ¶
func (self Instance) AsAudioStream() AudioStream.Instance
func (Instance) AsAudioStreamSynchronized ¶
func (Instance) AsRefCounted ¶
func (self Instance) AsRefCounted() [1]gd.RefCounted
func (Instance) AsResource ¶
func (Instance) GetSyncStream ¶
func (self Instance) GetSyncStream(stream_index int) AudioStream.Instance
Get one of the synchronized streams, by index.
func (Instance) GetSyncStreamVolume ¶
Get the volume of one of the synchronized streams, by index.
func (Instance) SetStreamCount ¶
func (Instance) SetSyncStream ¶
func (self Instance) SetSyncStream(stream_index int, audio_stream AudioStream.Instance)
Set one of the synchronized streams, by index.
func (Instance) SetSyncStreamVolume ¶
Set the volume of one of the synchronized streams, by index.