docs.unity.cn
    Show / Hide Table of Contents

    Enum TimelineAsset.MediaType

    Enum to specify the type of a track. This enum is obsolete.

    Namespace: UnityEngine.Timeline
    Syntax
    public enum MediaType : int

    Fields

    Name Description Value
    Animation

    Specifies that a track is used for animation. TimelineAsset.MediaType is obsolete.

    0
    Audio

    Specifies that a track is used for audio. TimelineAsset.MediaType is obsolete.

    1
    Group

    Specifies that a track is used for a group. TimelineAsset.MediaType is obsolete.

    Hybrid

    Specifies that a track is used for multiple media types. TimelineAsset.MediaType is obsolete.

    Script

    Specifies that a track is used for scripting. TimelineAsset.MediaType is obsolete.

    Texture

    Specifies that a track is used for a texture. TimelineAsset.MediaType is obsolete.

    Video

    Specifies that a track is used for video. TimelineAsset.MediaType is obsolete.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Thursday, October 21, 2021