{!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 TrackAsset | Timeline | 1.6.3
docs.unity3d.com
"{0}"의 검색 결과

    목차 표시/숨기기

    Class TrackAsset

    A PlayableAsset representing a track inside a timeline.

    상속
    object
    Object
    ScriptableObject
    PlayableAsset
    TrackAsset
    ActivationTrack
    AnimationTrack
    AudioTrack
    ControlTrack
    GroupTrack
    MarkerTrack
    PlayableTrack
    구현
    IPlayableAsset
    IPropertyPreview
    ISerializationCallbackReceiver
    상속된 멤버
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    object.MemberwiseClone()
    네임스페이스: UnityEngine.Timeline
    어셈블리: solution.dll
    구문
    [Serializable]
    public abstract class TrackAsset : PlayableAsset, IPlayableAsset, IPropertyPreview, ISerializationCallbackReceiver
    참고

    Derive from TrackAsset to implement custom timeline tracks. TrackAsset derived classes support the following attributes: HideInMenuAttribute TrackColorAttribute TrackClipTypeAttribute TrackBindingTypeAttribute DisplayNameAttribute

    예
    [TrackColor(1, 0, 0)]
    [TrackBindingType(typeof(Animator))]
    [TrackClipType(typeof(AnimationClip))]
    public class CustomAnimationTrack : TrackAsset { }

    필드

    이름 설명
    m_Clips

    프로퍼티

    이름 설명
    curves

    An animation clip storing animated properties of the attached PlayableAsset

    duration

    The length, in seconds, of this track

    end

    The end time, in seconds, of this track

    hasClips

    Whether this track contains any TimelineClip.

    hasCurves

    Whether this track contains animated properties for the attached PlayableAsset.

    isEmpty

    Whether this track is considered empty.

    isSubTrack

    Returns whether this track is a subtrack

    locked

    The local locked state of the track.

    lockedInHierarchy

    The locked state of a track. (RO)

    muted

    Whether the track is muted or not.

    mutedInHierarchy

    The muted state of a track.

    outputs

    Returns a description of the PlayableOutputs that will be created by this track.

    parent

    The owner of this track.

    start

    The start time, in seconds, of this track

    supportsNotifications

    Indicates if a track accepts markers that implement INotification.

    timelineAsset

    The TimelineAsset that this track belongs to.

    메서드

    이름 설명
    CalculateItemsHash()
    CanCreateTrackMixer()

    Whether the track can create a mixer for its own contents.

    CreateClip<T>()

    Creates a clip on the track with a playable asset attached, whose derived type is specified by T

    CreateCurves(string)

    Creates an AnimationClip to store animated properties for the attached PlayableAsset.

    CreateDefaultClip()

    Creates a TimelineClip on this track.

    CreateMarker(Type, double)

    Creates a marker of the requested type, at a specific time, and adds the marker to the current asset.

    CreateMarker<T>(double)

    Creates a marker of the requested type, at a specific time, and adds the marker to the current asset.

    CreatePlayable(PlayableGraph, GameObject)

    Overrides PlayableAsset.CreatePlayable(). Not used in Timeline.

    CreatePlayable(PlayableGraph, GameObject, TimelineClip)

    Constructs a Playable from a TimelineClip.

    CreateTrackMixer(PlayableGraph, GameObject, int)

    Creates a mixer used to blend playables generated by clips on the track.

    DeleteClip(TimelineClip)

    Delete a clip from this track.

    DeleteMarker(IMarker)

    Removes a marker from the current asset.

    GatherProperties(PlayableDirector, IPropertyCollector)

    Called by the Timeline Editor to gather properties requiring preview.

    GetAnimationClipHash(AnimationClip)

    Gets the hash code for an AnimationClip.

    GetChildTracks()

    The list of subtracks or child tracks attached to this track.

    GetClips()

    A list of clips owned by this track

    GetMarker(int)

    Returns the marker at a given position, on the current asset.

    GetMarkerCount()

    Returns the number of markers on the current asset.

    GetMarkers()

    Returns an enumerable list of markers on the current asset.

    OnAfterTrackDeserialize()

    Called after a track has been deserialized.

    OnBeforeTrackSerialize()

    Called before a track is serialized.

    OnCreateClip(TimelineClip)

    Called when a clip is created on a track.

    확장 메서드

    TrackExtensions.IsCollapsed(TrackAsset)
    TrackExtensions.IsVisibleInHierarchy(TrackAsset)
    TrackExtensions.SetCollapsed(TrackAsset, bool)
    TrackAssetExtensions.GetGroup(TrackAsset)
    TrackAssetExtensions.SetGroup(TrackAsset, GroupTrack)
    문서 개요
    맨 위로
    Copyright © 2023 Unity Technologies — 상표 및 이용약관
    • 법률정보
    • 개인정보처리방침
    • 쿠키
    • 내 개인정보 판매 금지
    • Your Privacy Choices (Cookie Settings)