Api Sandbox MovieMaker Compiled CompiledConstantBlock<T>
class

CompiledConstantBlock<T>

public sealed class CompiledConstantBlock<T>

This block has a single constant value for the whole duration. Useful for value types that can't be interpolated, and change infrequently.

Type Parameters

T Property value type.

Constructors

CompiledConstantBlock<T>(MovieTimeRange TimeRange, JsonNode Serialized)

This block has a single constant value for the whole duration. Useful for value types that can't be interpolated, and change infrequently.

TimeRange — Start and end time of this block.
Serialized — Json-serialized constant value.
CompiledConstantBlock<T>(MovieTimeRange timeRange, T value)

Properties

Name Type Description
TimeRange virtual MovieTimeRange Start and end time of this block.
Serialized virtual JsonNode

Methods

virtual T GetValue(MovieTime time)
virtual ICompiledPropertyBlock<T> Shift(MovieTime offset)
CompiledConstantBlock<T> <Clone>$()
Void Deconstruct(MovieTimeRange TimeRange, JsonNode Serialized)
Assembly: Sandbox.Engine Namespace: Sandbox.MovieMaker.Compiled Full Name: Sandbox.MovieMaker.Compiled.CompiledConstantBlock<T>