Api Sandbox MovieMaker Compiled CompiledClipExtensions
class

CompiledClipExtensions

public static abstract sealed class CompiledClipExtensions

Helper methods for working with MovieClip, ICompiledTrack, or ICompiledBlock.

Methods

static this CompiledReferenceTrack<GameObject> GameObject(CompiledReferenceTrack<GameObject> track, String name, Guid? id = null, TrackMetadata metadata = null)
static this ICompiledReferenceTrack Component(CompiledReferenceTrack<GameObject> track, Type type, Guid? id = null, TrackMetadata metadata = null)
static this CompiledReferenceTrack<T> Component(CompiledReferenceTrack<GameObject> track, Guid? id = null, TrackMetadata metadata = null)
static this CompiledPropertyTrack<T> Property(ICompiledTrack track, String name, ICompiledPropertyBlock<T>> blocks = null)
static this BindingReference<T>> ReferenceProperty(ICompiledTrack track, String name, BindingReference<T>>> blocks = null)
static this ICompiledPropertyTrack Property(ICompiledTrack track, String name, Type type, IEnumerable<ICompiledPropertyBlock> blocks = null)
static this CompiledPropertyTrack<TItem> Item(List<TItem>> track, Int32 index, ICompiledPropertyBlock<TItem>> blocks = null)
static this ICompiledTrack Child(ICompiledTrack track, String name, Type type)

Helper for creating a compiled child track with the given and value . Some special cases if the parent track is a GameObject reference track: is GameObjectReturns a game object reference track extends ComponentReturns a component reference track By default, returns a property track.

static this CompiledPropertyTrack<T> WithConstant(CompiledPropertyTrack<T> track, MovieTimeRange timeRange, T value)
static this CompiledPropertyTrack<T> WithSamples(CompiledPropertyTrack<T> track, MovieTimeRange timeRange, Int32 sampleRate, IEnumerable<T> values)
static this T Sample(IReadOnlyList<T> samples, MovieTime time, Int32 sampleRate, IInterpolator<T> interpolator)
Assembly: Sandbox.Engine Namespace: Sandbox.MovieMaker.Compiled Full Name: Sandbox.MovieMaker.Compiled.CompiledClipExtensions