Flutter Engine
The Flutter Engine
|
Public Member Functions | |
SkottieCubeSlide () | |
void | load (SkScalar w, SkScalar h) override |
void | drawFace (SkCanvas *canvas, SkColor color, int face, bool front, const SkM44 &) override |
bool | animate (double nanos) override |
Public Member Functions inherited from CubeBaseSlide | |
CubeBaseSlide (Flags flags) | |
bool | onChar (SkUnichar uni) override |
virtual void | drawFace (SkCanvas *, SkColor, int face, bool front, const SkM44 &localToWorld)=0 |
void | draw (SkCanvas *canvas) override |
Click * | onFindClickHandler (SkScalar x, SkScalar y, skui::ModifierKey modi) override |
bool | onClick (Click *click) override |
bool | animate (double nanos) override |
Public Member Functions inherited from ThreeDSlide | |
void | concatCamera (SkCanvas *canvas, const SkRect &area, SkScalar zscale) |
Public Member Functions inherited from ClickHandlerSlide | |
bool | onMouse (SkScalar x, SkScalar y, skui::InputState clickState, skui::ModifierKey modifierKeys) final |
Public Member Functions inherited from Slide | |
virtual SkISize | getDimensions () const |
virtual void | gpuTeardown () |
virtual void | draw (SkCanvas *canvas)=0 |
virtual bool | animate (double nanos) |
virtual void | load (SkScalar winWidth, SkScalar winHeight) |
virtual void | resize (SkScalar winWidth, SkScalar winHeight) |
virtual void | unload () |
virtual bool | onChar (SkUnichar c) |
virtual bool | onMouse (SkScalar x, SkScalar y, skui::InputState state, skui::ModifierKey modifiers) |
virtual bool | onGetControls (SkMetaData *) |
virtual void | onSetControls (const SkMetaData &) |
const SkString & | getName () |
Public Member Functions inherited from SkRefCntBase | |
SkRefCntBase () | |
virtual | ~SkRefCntBase () |
bool | unique () const |
void | ref () const |
void | unref () const |
Additional Inherited Members | |
Protected Types inherited from CubeBaseSlide | |
enum | Flags { kCanRunOnCPU = 1 << 0 , kShowLightDome = 1 << 1 } |
virtual Click * | onFindClickHandler (SkScalar x, SkScalar y, skui::ModifierKey modi)=0 |
virtual bool | onClick (Click *)=0 |
Protected Attributes inherited from CubeBaseSlide | |
LightOnSphere | fLight = {{200 + DX, 200 + DY}, 800, 12} |
VSphere | fSphere |
Flags | fFlags |
Protected Attributes inherited from ThreeDSlide | |
float | fNear = 0.05f |
float | fFar = 4 |
float | fAngle = SK_ScalarPI / 12 |
SkV3 | fEye { 0, 0, 1.0f/std::tan(fAngle/2) - 1 } |
SkV3 | fCOA { 0, 0, 0 } |
SkV3 | fUp { 0, 1, 0 } |
Protected Attributes inherited from Slide | |
SkString | fName |
Definition at line 433 of file 3DSlide.cpp.
|
inline |
Definition at line 437 of file 3DSlide.cpp.
|
inlineoverridevirtual |
Reimplemented from CubeBaseSlide.
Definition at line 468 of file 3DSlide.cpp.
|
inlineoverridevirtual |
Implements CubeBaseSlide.
Definition at line 456 of file 3DSlide.cpp.
Reimplemented from Slide.
Definition at line 439 of file 3DSlide.cpp.