s&box docs
API ReferenceSandbox.MovieMaker.Compiled

public static abstract sealed class Sandbox.MovieMaker.Compiled.CompiledClipExtensions

Helper methods for working with `Sandbox.MovieMaker.Compiled.MovieClip`, `Sandbox.MovieMaker.Compiled.ICompiledTrack`, or `Sandbox.MovieMaker.Compiled.ICompiledBlock`.

Methods

Showing 11 methods

public static Sandbox.MovieMaker.Compiled.ICompiledTrack Child(Sandbox.MovieMaker.Compiled.ICompiledTrack track, string name, System.Type type)

Helper for creating a compiled child track with the given `name` and value `type`. Some special cases if the parent track is a `Sandbox.GameObject` reference track: `type` is `Sandbox.GameObject`Returns a game object reference track`type` extends `Sandbox.Component`Returns a component reference track By default, returns a property track.

public static Sandbox.MovieMaker.Compiled.CompiledReferenceTrack`1<Sandbox.GameObject> GameObject(Sandbox.MovieMaker.Compiled.CompiledReferenceTrack`1<Sandbox.GameObject> track, string name, System.Nullable`1<System.Guid> id = null, Sandbox.MovieMaker.TrackMetadata metadata = null)

Parameters

  • id: Default: null
  • metadata: Default: null

public static Sandbox.MovieMaker.Compiled.CompiledPropertyTrack`1<TItem> Item(Sandbox.MovieMaker.Compiled.CompiledPropertyTrack`1<System.Collections.Generic.List`1<TItem>> track, int index, System.Collections.Generic.IEnumerable`1<Sandbox.MovieMaker.Compiled.ICompiledPropertyBlock`1<TItem>> blocks = null)

Parameters

  • blocks: Default: null

public static Sandbox.MovieMaker.Compiled.CompiledPropertyTrack`1<Sandbox.MovieMaker.Properties.BindingReference`1<T>> ReferenceProperty(Sandbox.MovieMaker.Compiled.ICompiledTrack track, string name, System.Collections.Generic.IEnumerable`1<Sandbox.MovieMaker.Compiled.ICompiledPropertyBlock`1<Sandbox.MovieMaker.Properties.BindingReference`1<T>>> blocks = null)

Parameters

  • blocks: Default: null

public static T Sample(System.Collections.Generic.IReadOnlyList`1<T> samples, Sandbox.MovieMaker.MovieTime time, int sampleRate, Sandbox.MovieMaker.IInterpolator`1<T> interpolator)

public static Sandbox.MovieMaker.Compiled.CompiledPropertyTrack`1<T> WithConstant(Sandbox.MovieMaker.Compiled.CompiledPropertyTrack`1<T> track, Sandbox.MovieMaker.MovieTimeRange timeRange, T value)

public static Sandbox.MovieMaker.Compiled.CompiledPropertyTrack`1<T> WithSamples(Sandbox.MovieMaker.Compiled.CompiledPropertyTrack`1<T> track, Sandbox.MovieMaker.MovieTimeRange timeRange, int sampleRate, System.Collections.Generic.IEnumerable`1<T> values)

Metadata

FieldValue
NamespaceSandbox.MovieMaker.Compiled
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.MovieMaker.Compiled.CompiledClipExtensions

On this page

Methodspublic static Sandbox.MovieMaker.Compiled.ICompiledTrack Child(Sandbox.MovieMaker.Compiled.ICompiledTrack track, System.String name, System.Type type)public static Sandbox.MovieMaker.Compiled.ICompiledReferenceTrack Component(Sandbox.MovieMaker.Compiled.CompiledReferenceTrack`1<Sandbox.GameObject> track, System.Type type, System.Nullable`1<System.Guid> id = null, Sandbox.MovieMaker.TrackMetadata metadata = null)public static Sandbox.MovieMaker.Compiled.CompiledReferenceTrack`1<T> Component(Sandbox.MovieMaker.Compiled.CompiledReferenceTrack`1<Sandbox.GameObject> track, System.Nullable`1<System.Guid> id = null, Sandbox.MovieMaker.TrackMetadata metadata = null)public static Sandbox.MovieMaker.Compiled.CompiledReferenceTrack`1<Sandbox.GameObject> GameObject(Sandbox.MovieMaker.Compiled.CompiledReferenceTrack`1<Sandbox.GameObject> track, System.String name, System.Nullable`1<System.Guid> id = null, Sandbox.MovieMaker.TrackMetadata metadata = null)public static Sandbox.MovieMaker.Compiled.CompiledPropertyTrack`1<TItem> Item(Sandbox.MovieMaker.Compiled.CompiledPropertyTrack`1<System.Collections.Generic.List`1<TItem>> track, System.Int32 index, System.Collections.Generic.IEnumerable`1<Sandbox.MovieMaker.Compiled.ICompiledPropertyBlock`1<TItem>> blocks = null)public static Sandbox.MovieMaker.Compiled.ICompiledPropertyTrack Property(Sandbox.MovieMaker.Compiled.ICompiledTrack track, System.String name, System.Type type, System.Collections.Generic.IEnumerable`1<Sandbox.MovieMaker.Compiled.ICompiledPropertyBlock> blocks = null)public static Sandbox.MovieMaker.Compiled.CompiledPropertyTrack`1<T> Property(Sandbox.MovieMaker.Compiled.ICompiledTrack track, System.String name, System.Collections.Generic.IEnumerable`1<Sandbox.MovieMaker.Compiled.ICompiledPropertyBlock`1<T>> blocks = null)public static Sandbox.MovieMaker.Compiled.CompiledPropertyTrack`1<Sandbox.MovieMaker.Properties.BindingReference`1<T>> ReferenceProperty(Sandbox.MovieMaker.Compiled.ICompiledTrack track, System.String name, System.Collections.Generic.IEnumerable`1<Sandbox.MovieMaker.Compiled.ICompiledPropertyBlock`1<Sandbox.MovieMaker.Properties.BindingReference`1<T>>> blocks = null)public static T Sample(System.Collections.Generic.IReadOnlyList`1<T> samples, Sandbox.MovieMaker.MovieTime time, System.Int32 sampleRate, Sandbox.MovieMaker.IInterpolator`1<T> interpolator)public static Sandbox.MovieMaker.Compiled.CompiledPropertyTrack`1<T> WithConstant(Sandbox.MovieMaker.Compiled.CompiledPropertyTrack`1<T> track, Sandbox.MovieMaker.MovieTimeRange timeRange, T value)public static Sandbox.MovieMaker.Compiled.CompiledPropertyTrack`1<T> WithSamples(Sandbox.MovieMaker.Compiled.CompiledPropertyTrack`1<T> track, Sandbox.MovieMaker.MovieTimeRange timeRange, System.Int32 sampleRate, System.Collections.Generic.IEnumerable`1<T> values)Metadata