Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
skresources::ExternalTrackAsset Class Referenceabstract

#include <SkResources.h>

Inheritance diagram for skresources::ExternalTrackAsset:
SkRefCnt SkRefCntBase

Public Member Functions

virtual void seek (float t)=0
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 

Detailed Description

External track (e.g. audio playback) interface.

Used to wrap data payload and playback controllers.

Definition at line 133 of file SkResources.h.

Member Function Documentation

◆ seek()

virtual void skresources::ExternalTrackAsset::seek ( float  t)
pure virtual

Playback control callback, emitted for each corresponding Animation::seek().

Parameters
tFrame time code, in seconds, relative to the layer's timeline origin (in-point).

Negative |t| values are used to signal off state (stop playback outside layer span).


The documentation for this class was generated from the following file: