s&box docs
API ReferenceSandbox.MovieMaker.Compiled

public sealed class Sandbox.MovieMaker.Compiled.CompiledSampleBlock<T>

This block contains an array of values sampled at uniform intervals.

Constructors

Showing 1 constructors

public CompiledSampleBlock<T>(Sandbox.MovieMaker.MovieTimeRange TimeRange, Sandbox.MovieMaker.MovieTime Offset, int SampleRate, System.Collections.Immutable.ImmutableArray`1<T> Samples)

Methods

Showing 6 methods

public Sandbox.MovieMaker.Compiled.CompiledSampleBlock`1<T> <Clone>$()

public void Deconstruct(Sandbox.MovieMaker.MovieTimeRange TimeRange, Sandbox.MovieMaker.MovieTime Offset, int SampleRate, System.Collections.Immutable.ImmutableArray`1<T> Samples)

public virtual sealed T GetValue(Sandbox.MovieMaker.MovieTime time)

public Sandbox.MovieMaker.Compiled.ICompiledPropertyBlock`1<T> Reduce()

Returns a property block with only sample data within `Sandbox.MovieMaker.Compiled.CompiledSampleBlock.TimeRange`. Returns the current instance if it represents an irreducible block. If only one sample is needed, will return a `Sandbox.MovieMaker.Compiled.CompiledConstantBlock`.

Properties

Showing 4 properties

public virtual sealed Sandbox.MovieMaker.MovieTime Sandbox.MovieMaker.Compiled.CompiledSampleBlock<T>.Offset { get; set; }

Time offset of the first sample.

public virtual sealed int Sandbox.MovieMaker.Compiled.CompiledSampleBlock<T>.SampleRate { get; set; }

How many samples per second.

public System.Collections.Immutable.ImmutableArray`1<T> Sandbox.MovieMaker.Compiled.CompiledSampleBlock<T>.Samples { get; set; }

public virtual sealed Sandbox.MovieMaker.MovieTimeRange Sandbox.MovieMaker.Compiled.CompiledSampleBlock<T>.TimeRange { get; set; }

Start and end time of this block.

Metadata

FieldValue
NamespaceSandbox.MovieMaker.Compiled
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.MovieMaker.Compiled.CompiledSampleBlock`1

On this page