API ReferenceSandbox.MovieMaker.Compiled
CompiledSampleBlock<T>class
This block contains an array of values sampled at uniform intervals.
object→CompiledSampleBlock<T>
Constructors1
Showing 1 constructors
public CompiledSampleBlock<T>(Sandbox.MovieMaker.MovieTimeRange TimeRange, Sandbox.MovieMaker.MovieTime Offset, int SampleRate, System.Collections.Immutable.ImmutableArray`1<T> Samples)
| Parameter | Type | Description |
|---|---|---|
| TimeRange | MovieTimeRange | — |
| Offset | MovieTime | — |
| SampleRate | int | — |
| Samples | ImmutableArray<T> | — |
No results match this filter.
Methods6
Showing 6 methods
public Sandbox.MovieMaker.Compiled.CompiledSampleBlock`1<T> <Clone>$()
Returns:
CompiledSampleBlock<T>—public virtual sealed Sandbox.MovieMaker.Compiled.ICompiledPropertyBlock`1<T> Clamp(Sandbox.MovieMaker.MovieTimeRange range)
| Parameter | Type | Description |
|---|---|---|
| range | MovieTimeRange | — |
public void Deconstruct(Sandbox.MovieMaker.MovieTimeRange TimeRange, Sandbox.MovieMaker.MovieTime Offset, int SampleRate, System.Collections.Immutable.ImmutableArray`1<T> Samples)
| Parameter | Type | Description |
|---|---|---|
| TimeRange | MovieTimeRange | — |
| Offset | MovieTime | — |
| SampleRate | int | — |
| Samples | ImmutableArray<T> | — |
Returns:
void—public virtual sealed T GetValue(Sandbox.MovieMaker.MovieTime time)
| Parameter | Type | Description |
|---|---|---|
| time | MovieTime | — |
Returns:
T—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)
| Parameter | Type | Description |
|---|---|---|
| offset | MovieTime | — |
No results match this filter.
Properties4
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.
Returns:
int—public System.Collections.Immutable.ImmutableArray`1<T> Sandbox.MovieMaker.Compiled.CompiledSampleBlock<T>.Samples { get; set; }
Returns:
ImmutableArray<T>—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.