API ReferenceSandbox.MovieMaker.Compiled
CompiledConstantBlock<T>class
This block has a single constant value for the whole duration. Useful for value types that can't be interpolated, and change infrequently.
object→CompiledConstantBlock<T>
Constructors2
Showing 2 constructors
No results match this filter.
Methods5
Showing 5 methods
public Sandbox.MovieMaker.Compiled.CompiledConstantBlock`1<T> <Clone>$()
Returns:
CompiledConstantBlock<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, System.Text.Json.Nodes.JsonNode Serialized)
| Parameter | Type | Description |
|---|---|---|
| TimeRange | MovieTimeRange | — |
| Serialized | JsonNode | — |
Returns:
void—public virtual sealed T GetValue(Sandbox.MovieMaker.MovieTime time)
| Parameter | Type | Description |
|---|---|---|
| time | MovieTime | — |
Returns:
T—public virtual sealed Sandbox.MovieMaker.Compiled.ICompiledPropertyBlock`1<T> Shift(Sandbox.MovieMaker.MovieTime offset)
| Parameter | Type | Description |
|---|---|---|
| offset | MovieTime | — |
No results match this filter.
Properties2
Showing 2 properties
public virtual sealed System.Text.Json.Nodes.JsonNode Sandbox.MovieMaker.Compiled.CompiledConstantBlock<T>.Serialized { get; set; }
Returns:
JsonNode—public virtual sealed Sandbox.MovieMaker.MovieTimeRange Sandbox.MovieMaker.Compiled.CompiledConstantBlock<T>.TimeRange { get; set; }
Start and end time of this block.
No results match this filter.