Class Marker | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class Marker

    Use Marker as a base class when creating a custom marker.

    Inheritance
    System.Object
    Marker
    SignalEmitter
    Namespace: UnityEngine.Timeline
    Syntax
    public abstract class Marker : ScriptableObject, IMarker
    Remarks

    A marker is a point in time.

    Properties

    parent

    The track that contains the marker.

    Declaration
    public TrackAsset parent { get; }
    Property Value
    Type Description
    TrackAsset
    Implements
    IMarker.parent

    time

    The time set for the marker, in seconds.

    Declaration
    public double time { get; set; }
    Property Value
    Type Description
    System.Double
    Implements
    IMarker.time
    Remarks

    The marker time cannot be negative.

    Methods

    OnInitialize(TrackAsset)

    Override this method to receive a callback when the marker is initialized.

    Declaration
    public virtual void OnInitialize(TrackAsset aPent)
    Parameters
    Type Name Description
    TrackAsset aPent

    Explicit Interface Implementations

    IMarker.Initialize(TrackAsset)

    Declaration
    void IMarker.Initialize(TrackAsset parentTrack)
    Parameters
    Type Name Description
    TrackAsset parentTrack
    Implements
    IMarker.Initialize(TrackAsset)
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX