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.

objectCompiledConstantBlock<T>
Namespace
Sandbox.MovieMaker.Compiled
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.MovieMaker.Compiled.CompiledConstantBlock<T>

Constructors2

Showing 2 constructors

Methods5

Showing 5 methods

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

Returns:CompiledConstantBlock<T>

public void Deconstruct(Sandbox.MovieMaker.MovieTimeRange TimeRange, System.Text.Json.Nodes.JsonNode Serialized)PUBLIC

ParameterTypeDescription
TimeRangeMovieTimeRange
SerializedJsonNode
Returns:void

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

ParameterTypeDescription
timeMovieTime
Returns:T

Properties2

Showing 2 properties

public virtual sealed System.Text.Json.Nodes.JsonNode Sandbox.MovieMaker.Compiled.CompiledConstantBlock<T>.Serialized { get; set; }PUBLICVIRTUALGETSET

Returns:JsonNode

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

Start and end time of this block.

Returns:MovieTimeRange

On this page