docs.unity3d.com
    目次を表示する/隠す

    Class StoryboardTrack

    The StoryboardTrack supports StoryboardPlayableAsset in order to create a Storyboard in Timeline. This allows users to iterate on their cinematic timing and have a base for blocking in Unity.

    Inheritance
    Object
    TrackAsset
    StoryboardTrack
    Inherited Members
    TrackAsset.m_Clips
    TrackAsset.OnBeforeTrackSerialize()
    TrackAsset.OnAfterTrackDeserialize()
    TrackAsset.GetClips()
    TrackAsset.GetChildTracks()
    TrackAsset.CreateCurves(String)
    UnityEngine.Timeline.TrackAsset.CreatePlayable(UnityEngine.Playables.PlayableGraph, UnityEngine.GameObject)
    TrackAsset.CreateDefaultClip()
    TrackAsset.CreateClip<T>()
    TrackAsset.DeleteClip(TimelineClip)
    UnityEngine.Timeline.TrackAsset.CreateMarker(System.Type, System.Double)
    TrackAsset.CreateMarker<T>(Double)
    TrackAsset.DeleteMarker(IMarker)
    TrackAsset.GetMarkers()
    TrackAsset.GetMarkerCount()
    TrackAsset.GetMarker(Int32)
    UnityEngine.Timeline.TrackAsset.GatherProperties(UnityEngine.Playables.PlayableDirector, UnityEngine.Timeline.IPropertyCollector)
    TrackAsset.CalculateItemsHash()
    UnityEngine.Timeline.TrackAsset.CreatePlayable(UnityEngine.Playables.PlayableGraph, UnityEngine.GameObject, UnityEngine.Timeline.TimelineClip)
    TrackAsset.CanCreateTrackMixer()
    UnityEngine.Timeline.TrackAsset.GetAnimationClipHash(UnityEngine.AnimationClip)
    TrackAsset.start
    TrackAsset.end
    TrackAsset.duration
    TrackAsset.muted
    TrackAsset.mutedInHierarchy
    TrackAsset.timelineAsset
    TrackAsset.parent
    TrackAsset.isEmpty
    TrackAsset.hasClips
    TrackAsset.hasCurves
    TrackAsset.isSubTrack
    TrackAsset.outputs
    TrackAsset.curves
    TrackAsset.locked
    TrackAsset.lockedInHierarchy
    TrackAsset.supportsNotifications
    Namespace: UnityEngine.Sequences.Timeline
    Syntax
    [Serializable]
    [TrackClipType(typeof(StoryboardPlayableAsset))]
    [TrackColor(0.929411769F, 0.494117647F, 0.007843138F)]
    public class StoryboardTrack : TrackAsset, ISerializationCallbackReceiver, IPropertyPreview, ICurvesOwner

    Fields

    defaultFrameDuration

    This is the default duration of each newly created clip on the Storyboard track. By default it is set to 3 seconds, which means that every new Storyboard image added via a new clip on the track will last for 3 seconds.

    Declaration
    [Tooltip("Clips created in this track will be created with this default duration.Changing this value with not change the length of pre-existing Clips")]
    [SerializeField]
    public double defaultFrameDuration
    Field Value
    Type Description
    Double
    Remarks

    Changing this value does not affect the duration of existing clips.

    sortOrder

    The StoryboardTrack uses Canvas to display the different Storyboard frames. Use this parameter to control the sortingOrder value.

    Declaration
    [Tooltip("sorting order of the Storyboard Canvas")]
    [SerializeField]
    public int sortOrder
    Field Value
    Type Description
    Int32

    Methods

    CreateTrackMixer(PlayableGraph, GameObject, Int32)

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

    Declaration
    public override Playable CreateTrackMixer(PlayableGraph graph, GameObject go, int inputCount)
    Parameters
    Type Name Description
    PlayableGraph graph

    The graph to inject playables into.

    GameObject go

    The GameObject that requested the graph.

    Int32 inputCount

    The number of playables from clips that will be inputs to the returned mixer.

    Returns
    Type Description
    Playable

    A handle to the Playable node representing the mixer.

    OnCreateClip(TimelineClip)

    Called when a clip is created on a track.

    Declaration
    protected override void OnCreateClip(TimelineClip clip)
    Parameters
    Type Name Description
    TimelineClip clip

    The timeline clip added to this track

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