docs.unity3d.com
    Show / Hide Table of Contents

    Class VideoPlayableAsset

    Inheritance
    Object
    VideoPlayableAsset
    Namespace: Timeline.Samples
    Syntax
    public class VideoPlayableAsset : PlayableAsset, ITimelineClipAsset

    Fields

    aspectRatio

    Declaration
    public VideoAspectRatio aspectRatio
    Field Value
    Type Description
    VideoAspectRatio

    audioSource

    Declaration
    public ExposedReference<AudioSource> audioSource
    Field Value
    Type Description
    ExposedReference<AudioSource>

    loop

    Declaration
    public bool loop
    Field Value
    Type Description
    Boolean

    mute

    Declaration
    public bool mute
    Field Value
    Type Description
    Boolean

    preloadTime

    Declaration
    public double preloadTime
    Field Value
    Type Description
    Double

    renderMode

    Declaration
    public VideoPlayableAsset.RenderMode renderMode
    Field Value
    Type Description
    VideoPlayableAsset.RenderMode

    targetCamera

    Declaration
    public ExposedReference<Camera> targetCamera
    Field Value
    Type Description
    ExposedReference<Camera>

    videoClip

    Declaration
    public VideoClip videoClip
    Field Value
    Type Description
    VideoClip

    Properties

    clipCaps

    Declaration
    public ClipCaps clipCaps { get; }
    Property Value
    Type Description
    ClipCaps
    Implements
    ITimelineClipAsset.clipCaps

    clipInTime

    Declaration
    public double clipInTime { get; set; }
    Property Value
    Type Description
    Double

    duration

    Declaration
    public override double duration { get; }
    Property Value
    Type Description
    Double

    startTime

    Declaration
    public double startTime { get; set; }
    Property Value
    Type Description
    Double

    Methods

    CreatePlayable(PlayableGraph, GameObject)

    Declaration
    public override Playable CreatePlayable(PlayableGraph graph, GameObject go)
    Parameters
    Type Name Description
    PlayableGraph graph
    GameObject go
    Returns
    Type Description
    Playable
    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