Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
skottie::internal::EffectBinder Class Reference

#include <Effects.h>

Public Member Functions

 EffectBinder (const skjson::ArrayValue &jprops, const AnimationBuilder &abuilder, AnimatablePropertyContainer *acontainer)
 
template<typename T >
const EffectBinderbind (size_t prop_index, T &value) const
 

Detailed Description

Definition at line 127 of file Effects.h.

Constructor & Destructor Documentation

◆ EffectBinder()

skottie::internal::EffectBinder::EffectBinder ( const skjson::ArrayValue jprops,
const AnimationBuilder abuilder,
AnimatablePropertyContainer acontainer 
)
inline

Definition at line 129 of file Effects.h.

132 : fProps(jprops)
133 , fBuilder(abuilder)
134 , fContainer(acontainer) {}

Member Function Documentation

◆ bind()

template<typename T >
const EffectBinder & skottie::internal::EffectBinder::bind ( size_t  prop_index,
T value 
) const
inline

Definition at line 137 of file Effects.h.

137 {
138 fContainer->bind(fBuilder, EffectBuilder::GetPropValue(fProps, prop_index), value);
139
140 return *this;
141 }
bool bind(const AnimationBuilder &, const skjson::ObjectValue *, T *)
static const skjson::Value & GetPropValue(const skjson::ArrayValue &jprops, size_t prop_index)
Definition Effects.cpp:181

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