AnimationAudioTrackInsertKey Method |
Inserts an Audio Track key at the given time in seconds. The track_idx must be the index of an Audio Track.
stream is the AudioStream resource to play. start_offset is the number of seconds cut off at the beginning of the audio stream, while end_offset is at the ending.
Namespace: Godot
public int AudioTrackInsertKey( int trackIdx, float time, Resource stream, float startOffset = 0f, float endOffset = 0f )
[Missing <param name="trackIdx"/> documentation for "M:Godot.Animation.AudioTrackInsertKey(System.Int32,System.Single,Godot.Resource,System.Single,System.Single)"]
[Missing <param name="time"/> documentation for "M:Godot.Animation.AudioTrackInsertKey(System.Int32,System.Single,Godot.Resource,System.Single,System.Single)"]
[Missing <param name="stream"/> documentation for "M:Godot.Animation.AudioTrackInsertKey(System.Int32,System.Single,Godot.Resource,System.Single,System.Single)"]
[Missing <param name="startOffset"/> documentation for "M:Godot.Animation.AudioTrackInsertKey(System.Int32,System.Single,Godot.Resource,System.Single,System.Single)"]
[Missing <param name="endOffset"/> documentation for "M:Godot.Animation.AudioTrackInsertKey(System.Int32,System.Single,Godot.Resource,System.Single,System.Single)"]
[Missing <returns> documentation for "M:Godot.Animation.AudioTrackInsertKey(System.Int32,System.Single,Godot.Resource,System.Single,System.Single)"]