Search Results for

    Show / Hide Table of Contents

    Class Media.ProxyBase<TTrack, TMedia>

    The base class for media properties proxy objects.

    Inheritance
    System.Object
    Media.ProxyBase<TTrack, TMedia>
    Namespace: FlaxEditor.GUI.Timeline
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    public abstract class ProxyBase<TTrack, TMedia> : Object where TTrack : Track where TMedia : Media
    Type Parameters
    TTrack

    The type of the track.

    TMedia

    The type of the media.

    Constructors

    ProxyBase(TTrack, TMedia)

    Initializes a new instance of the Media.ProxyBase<TTrack, TMedia> class.

    Declaration
    protected ProxyBase(TTrack track, TMedia media)
    Parameters
    TTrack track

    The track.

    TMedia media

    The media.

    Properties

    Duration

    Gets or sets the total duration of the timeline (in seconds).

    Declaration
    [EditorDisplay("General", null)]
    [EditorOrder(-1000)]
    [Limit(0F, 3.40282347E+38F, 0.001F)]
    [VisibleIf("UseFrames", true)]
    [Tooltip("Total duration of the timeline (in seconds).")]
    public float Duration { get; set; }
    Property Value
    System.Single

    DurationFrames

    Gets or sets the total duration of the media event (in frames).

    Declaration
    [EditorDisplay("General", null)]
    [EditorOrder(-1000)]
    [Limit(1F, 3.40282347E+38F, 1F)]
    [VisibleIf("UseFrames", false)]
    [Tooltip("Total duration of the media event (in frames).")]
    public int DurationFrames { get; set; }
    Property Value
    System.Int32

    Start

    Gets or sets the start frame of the media event (in seconds).

    Declaration
    [EditorDisplay("General", null)]
    [EditorOrder(-10010)]
    [VisibleIf("UseFrames", true)]
    [Tooltip("Start frame of the media event (in seconds).")]
    public float Start { get; set; }
    Property Value
    System.Single

    StartFrame

    Gets or sets the start frame of the media event (in frames).

    Declaration
    [EditorDisplay("General", null)]
    [EditorOrder(-10010)]
    [VisibleIf("UseFrames", false)]
    [Tooltip("Start frame of the media event (in frames).")]
    public int StartFrame { get; set; }
    Property Value
    System.Int32

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat