Class StreamingImageSequencePlayableAsset | Streaming Image Sequence | 0.0.4-preview
docs.unity3d.com
    Show / Hide Table of Contents

    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
    Object
    StreamingImageSequencePlayableAsset
    Namespace: UnityEngine.StreamingImageSequence
    Syntax
    [Serializable]
    public class StreamingImageSequencePlayableAsset : PlayableAsset, ITimelineClipAsset, IPlayableBehaviour, ISerializationCallbackReceiver

    Constructors

    StreamingImageSequencePlayableAsset()

    Constructor

    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
    Type Description
    Double

    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

    Finalize()

    Destructor. Ensures to unload the images.

    Declaration
    protected void Finalize()

    GetFolder()

    Get the source folder

    Declaration
    public string GetFolder()
    Returns
    Type Description
    String

    The folder where the images are located

    OnAfterDeserialize()

    Declaration
    public void OnAfterDeserialize()

    OnBeforeSerialize()

    Declaration
    public void OnBeforeSerialize()

    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023