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

#include <SkottieValue.h>

Inheritance diagram for skottie::VectorValue:
skottie::ColorValue

Public Member Functions

 VectorValue ()=default
 
 VectorValue (std::initializer_list< float > l)
 
 operator SkV3 () const
 

Detailed Description

Definition at line 25 of file SkottieValue.h.

Constructor & Destructor Documentation

◆ VectorValue() [1/2]

skottie::VectorValue::VectorValue ( )
default

◆ VectorValue() [2/2]

skottie::VectorValue::VectorValue ( std::initializer_list< float >  l)
inline

Definition at line 29 of file SkottieValue.h.

29: INHERITED(l) {}

Member Function Documentation

◆ operator SkV3()

skottie::VectorValue::operator SkV3 ( ) const

Definition at line 51 of file VectorKeyframeAnimator.cpp.

51 {
52 // best effort to turn this into a 3D point
53 return SkV3 {
54 this->size() > 0 ? (*this)[0] : 0,
55 this->size() > 1 ? (*this)[1] : 0,
56 this->size() > 2 ? (*this)[2] : 0,
57 };
58}
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
Definition switches.h:259
Definition SkM44.h:56

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