Api Sandbox MovieMaker Compiled CompiledSampleBlock<T>
class

CompiledSampleBlock<T>

public sealed class CompiledSampleBlock<T>

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

Type Parameters

T Property value type.

Constructors

CompiledSampleBlock<T>(MovieTimeRange TimeRange, MovieTime Offset, Int32 SampleRate, ImmutableArray<T> Samples)

Properties

Name Type Description
TimeRange virtual MovieTimeRange Start and end time of this block.
Offset virtual MovieTime Time offset of the first sample.
SampleRate virtual Int32 How many samples per second.
Samples ImmutableArray<T>

Methods

virtual T GetValue(MovieTime time)
virtual ICompiledPropertyBlock<T> Shift(MovieTime offset)
CompiledSampleBlock<T> <Clone>$()
Void Deconstruct(MovieTimeRange TimeRange, MovieTime Offset, Int32 SampleRate, ImmutableArray<T> Samples)
Assembly: Sandbox.Engine Namespace: Sandbox.MovieMaker.Compiled Full Name: Sandbox.MovieMaker.Compiled.CompiledSampleBlock<T>