Flutter Engine
The Flutter Engine
Public Attributes | List of all members
impeller::scene::TimelineResolver::TimelineKey Struct Reference

#include <property_resolver.h>

Public Attributes

size_t index = 0
 The index of the closest previous keyframe. More...
 
Scalar lerp = 1
 

Detailed Description

Definition at line 61 of file property_resolver.h.

Member Data Documentation

◆ index

size_t impeller::scene::TimelineResolver::TimelineKey::index = 0

The index of the closest previous keyframe.

Definition at line 63 of file property_resolver.h.

◆ lerp

Scalar impeller::scene::TimelineResolver::TimelineKey::lerp = 1

Used to interpolate between the resolved values for timeline_index - 1 and timeline_index. The range of this value should always be 0>N>=1.

Definition at line 66 of file property_resolver.h.


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