docs.unity3d.com
    Show / Hide Table of Contents

    Class VideoPlayableBehaviour

    Inheritance
    Object
    VideoPlayableBehaviour
    Namespace: Timeline.Samples
    Syntax
    public sealed class VideoPlayableBehaviour : PlayableBehaviour

    Fields

    clipInTime

    Declaration
    public double clipInTime
    Field Value
    Type Description
    Double

    preloadTime

    Declaration
    public double preloadTime
    Field Value
    Type Description
    Double

    startTime

    Declaration
    public double startTime
    Field Value
    Type Description
    Double

    videoPlayer

    Declaration
    public VideoPlayer videoPlayer
    Field Value
    Type Description
    VideoPlayer

    Methods

    OnBehaviourPause(Playable, FrameData)

    Declaration
    public override void OnBehaviourPause(Playable playable, FrameData info)
    Parameters
    Type Name Description
    Playable playable
    FrameData info

    OnBehaviourPlay(Playable, FrameData)

    Declaration
    public override void OnBehaviourPlay(Playable playable, FrameData info)
    Parameters
    Type Name Description
    Playable playable
    FrameData info

    OnPlayableDestroy(Playable)

    Declaration
    public override void OnPlayableDestroy(Playable playable)
    Parameters
    Type Name Description
    Playable playable

    PrepareFrame(Playable, FrameData)

    Declaration
    public override void PrepareFrame(Playable playable, FrameData info)
    Parameters
    Type Name Description
    Playable playable
    FrameData info

    PrepareVideo()

    Declaration
    public void PrepareVideo()
    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