OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
Animation Class Referencefinal

#include <animation.h>

Classes

struct  AnimData
 
struct  EvCount
 
struct  EvMorph
 
struct  EvTimed
 
struct  MdsParticleEffect
 
struct  Sequence
 

Public Types

enum  AnimClass : uint8_t { UnknownAnim =0 , Transition , Loop }
 

Public Member Functions

 Animation (zenkit::ModelScript &p, std::string_view name, bool ignoreErrChunks)
 
const Sequencesequence (std::string_view name) const
 
const SequencesequenceAsc (std::string_view name) const
 
void debug () const
 
std::string_view defaultMesh () const
 

Detailed Description

Definition at line 14 of file animation.h.

Member Enumeration Documentation

◆ AnimClass

enum Animation::AnimClass : uint8_t
Enumerator
UnknownAnim 
Transition 
Loop 

Definition at line 16 of file animation.h.

Constructor & Destructor Documentation

◆ Animation()

Animation::Animation ( zenkit::ModelScript &  p,
std::string_view  name,
bool  ignoreErrChunks 
)

Definition at line 32 of file animation.cpp.

Member Function Documentation

◆ debug()

void Animation::debug ( ) const

Definition at line 114 of file animation.cpp.

◆ defaultMesh()

std::string_view Animation::defaultMesh ( ) const

Definition at line 119 of file animation.cpp.

◆ sequence()

const Animation::Sequence * Animation::sequence ( std::string_view  name) const

Definition at line 93 of file animation.cpp.

◆ sequenceAsc()

const Animation::Sequence * Animation::sequenceAsc ( std::string_view  name) const

Definition at line 107 of file animation.cpp.


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