Loading...
Searching...
No Matches
TsValueSample Struct Reference

An individual sample. More...

#include <types.h>

Public Member Functions

 TsValueSample (TsTime inLeftTime, const VtValue &inLeftValue, TsTime inRightTime, const VtValue &inRightValue, bool inBlur=false)
 

Public Attributes

bool isBlur
 True if a blur sample.
 
TsTime leftTime
 Left side time (inclusive)
 
TsTime rightTime
 Right side time (exclusive)
 
VtValue leftValue
 Value at left or, for blur, min value.
 
VtValue rightValue
 Value at right or, for blur, max value.
 

Detailed Description

An individual sample.

A sample is either a blur, defining a rectangle, or linear, defining a line for linear interpolation. In both cases the sample is half-open on the right.

Definition at line 98 of file types.h.

Constructor & Destructor Documentation

◆ TsValueSample()

TsValueSample ( TsTime  inLeftTime,
const VtValue inLeftValue,
TsTime  inRightTime,
const VtValue inRightValue,
bool  inBlur = false 
)
inline

Definition at line 100 of file types.h.

Member Data Documentation

◆ isBlur

bool isBlur

True if a blur sample.

Definition at line 111 of file types.h.

◆ leftTime

TsTime leftTime

Left side time (inclusive)

Definition at line 112 of file types.h.

◆ leftValue

VtValue leftValue

Value at left or, for blur, min value.

Definition at line 114 of file types.h.

◆ rightTime

TsTime rightTime

Right side time (exclusive)

Definition at line 113 of file types.h.

◆ rightValue

VtValue rightValue

Value at right or, for blur, max value.

Definition at line 115 of file types.h.


The documentation for this struct was generated from the following file: