ProtoTracer  1.0
Real-time 3D rendering and animation engine
Loading...
Searching...
No Matches
SpyroRotateAnimation Class Reference

#include <SpyroRotateAnimation.h>

Inheritance diagram for SpyroRotateAnimation:
Collaboration diagram for SpyroRotateAnimation:

Public Member Functions

 SpyroRotateAnimation ()
 
void FadeIn (float stepRatio) override
 
void FadeOut (float stepRatio) override
 
void Update (float ratio) override
 

Private Attributes

Spyro spyro
 
FunctionGenerator fGenScale = FunctionGenerator(FunctionGenerator::Sine, 2.0f, 10.0f, 4.2f)
 
SimpleMaterial sM = SimpleMaterial(RGBColor(255, 255, 255))
 

Detailed Description

Definition at line 8 of file SpyroRotateAnimation.h.

Constructor & Destructor Documentation

◆ SpyroRotateAnimation()

Definition at line 15 of file SpyroRotateAnimation.h.

References SerialInterpreter::Initialize(), and spyro.

Member Function Documentation

◆ FadeIn()

void FadeIn ( float  stepRatio)
inlineoverride

Definition at line 23 of file SpyroRotateAnimation.h.

◆ FadeOut()

void FadeOut ( float  stepRatio)
inlineoverride

Definition at line 24 of file SpyroRotateAnimation.h.

◆ Update()

Member Data Documentation

◆ fGenScale

FunctionGenerator fGenScale = FunctionGenerator(FunctionGenerator::Sine, 2.0f, 10.0f, 4.2f)
private

Definition at line 11 of file SpyroRotateAnimation.h.

Referenced by Update().

◆ sM

SimpleMaterial sM = SimpleMaterial(RGBColor(255, 255, 255))
private

Definition at line 12 of file SpyroRotateAnimation.h.

Referenced by Update().

◆ spyro

Spyro spyro
private

Definition at line 10 of file SpyroRotateAnimation.h.

Referenced by SpyroRotateAnimation(), and Update().


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