Class StreamingImageSequencePlayableAsset
The PlayableAsset of the TimelineClip to be used inside the Timeline Window.
Implements the following interfaces:
- ITimelineClipAsset: for defining clip capabilities (ClipCaps)
- IPlayableBehaviour: for displaying the curves in the timeline window
- ISerializationCallbackReceiver: for serialization
Inheritance
StreamingImageSequencePlayableAsset
Syntax
[Serializable]
public class StreamingImageSequencePlayableAsset : PlayableAsset, ITimelineClipAsset, IPlayableBehaviour
Constructors
StreamingImageSequencePlayableAsset()
Declaration
public StreamingImageSequencePlayableAsset()
Properties
clipCaps
Declaration
public ClipCaps clipCaps { get; }
Property Value
Type |
Description |
ClipCaps |
|
duration
Declaration
public override sealed double duration { get; }
Property Value
Methods
CreatePlayable(PlayableGraph, GameObject)
Declaration
public override sealed Playable CreatePlayable(PlayableGraph graph, GameObject go)
Parameters
Type |
Name |
Description |
PlayableGraph |
graph |
|
GameObject |
go |
|
Returns
Type |
Description |
Playable |
|
GetFolder()
Declaration
public string GetFolder()
Returns
Type |
Description |
String |
The folder where the images are located
|
GetTexture()
Returns the texture that contains the active image according to the PlayableDirector's time.
Declaration
public Texture2D GetTexture()
Returns
Type |
Description |
Texture2D |
|
OnBehaviourPause(Playable, FrameData)
Declaration
public void OnBehaviourPause(Playable playable, FrameData info)
Parameters
Type |
Name |
Description |
Playable |
playable |
|
FrameData |
info |
|
OnBehaviourPlay(Playable, FrameData)
Declaration
public void OnBehaviourPlay(Playable playable, FrameData info)
Parameters
Type |
Name |
Description |
Playable |
playable |
|
FrameData |
info |
|
OnGraphStart(Playable)
Declaration
public void OnGraphStart(Playable playable)
Parameters
Type |
Name |
Description |
Playable |
playable |
|
OnGraphStop(Playable)
Declaration
public void OnGraphStop(Playable playable)
Parameters
Type |
Name |
Description |
Playable |
playable |
|
OnPlayableCreate(Playable)
Declaration
public void OnPlayableCreate(Playable playable)
Parameters
Type |
Name |
Description |
Playable |
playable |
|
OnPlayableDestroy(Playable)
Declaration
public void OnPlayableDestroy(Playable playable)
Parameters
Type |
Name |
Description |
Playable |
playable |
|
PrepareFrame(Playable, FrameData)
Declaration
public void PrepareFrame(Playable playable, FrameData info)
Parameters
Type |
Name |
Description |
Playable |
playable |
|
FrameData |
info |
|
ProcessFrame(Playable, FrameData, Object)
Declaration
public void ProcessFrame(Playable playable, FrameData info, object playerData)
Parameters
Type |
Name |
Description |
Playable |
playable |
|
FrameData |
info |
|
Object |
playerData |
|
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.