{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class TrackEditor | Timeline | 1.5.0-preview.5
docs.unity3d.com
"{0}" の検索結果

    目次を表示する/隠す

    Class TrackEditor

    Use this class to customize track types in the TimelineEditor.

    Inheritance
    object
    TrackEditor
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEditor.Timeline
    Assembly: solution.dll
    Syntax
    public class TrackEditor

    Fields

    Name Description
    DefaultTrackHeight

    The default height of a track.

    MaximumTrackHeight

    The maximum height of a track.

    MinimumTrackHeight

    The minimum unscaled height of a track.

    Methods

    Name Description
    GetBindingFrom(Object, TrackAsset)

    Override this method to determine which object to bind to track. A binding object should be determined from candidate.

    By default, the TrackBindingType attribute from track will be used to determine the binding.

    GetBindingType(TrackAsset)

    Gets the binding type for a track.

    GetErrorText(TrackAsset, Object, TrackBindingErrors)

    Gets the error text for the specified track.

    GetTrackColor(TrackAsset)

    Gets the color information of a track.

    GetTrackOptions(TrackAsset, Object)

    Implement this method to override the default options for drawing a track.

    IsBindingAssignableFrom(Object, TrackAsset)

    Override this method to validate if a binding for track can be determined from candidate.

    The default implementation of this method will return true if

    • candidate is not null or,
    • candidate is not part of a Prefab Asset or,
    • candidate is a Component that can be bound to track
    OnCreate(TrackAsset, TrackAsset)

    Callback for when a track is created.

    OnTrackChanged(TrackAsset)

    Callback for when a track is changed.

    概要
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)