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)
No results match this filter.
Methods
Showing 6 methods
public Sandbox.MovieMaker.Compiled.CompiledSampleBlock`1<T> <Clone>$()
public virtual sealed Sandbox.MovieMaker.Compiled.ICompiledPropertyBlock`1<T> Clamp(Sandbox.MovieMaker.MovieTimeRange range)
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`.
public virtual sealed Sandbox.MovieMaker.Compiled.ICompiledPropertyBlock`1<T> Shift(Sandbox.MovieMaker.MovieTime offset)
No results match this filter.
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.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox.MovieMaker.Compiled |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.MovieMaker.Compiled.CompiledSampleBlock`1 |