OpenBarnyard
 
Loading...
Searching...
No Matches
AToshiAnimationRef Class Reference

#include <AToshiAnimationInterface.h>

Inheritance diagram for AToshiAnimationRef:

Public Member Functions

 AToshiAnimationRef ()
 
 ~AToshiAnimationRef ()
 
void SetWeight (TFLOAT a_fWeight)
 
TUINT16 GetSequenceId () const
 
ANamedAnimationGetNamedAnimation () const
 
ANamedAnimationTransitionGetTransition () const
 

Friends

class AToshiAnimationInterface
 

Detailed Description

Definition at line 9 of file AToshiAnimationInterface.h.

Constructor & Destructor Documentation

◆ AToshiAnimationRef()

AToshiAnimationRef::AToshiAnimationRef ( )

Definition at line 595 of file AToshiAnimationInterface.cpp.

596{
597 m_pNamedAnimation = TNULL;
598 m_fWeight = 1.0f;
599 m_fTime = 0.0f;
600 m_pTransition = TNULL;
601 m_bWasEverUpdated = TFALSE;
602 m_iBreakpointIndex = 0;
603}
#define TNULL
Definition Typedefs.h:23
#define TFALSE
Definition Typedefs.h:24

◆ ~AToshiAnimationRef()

AToshiAnimationRef::~AToshiAnimationRef ( )

Definition at line 605 of file AToshiAnimationInterface.cpp.

606{
607}

Member Function Documentation

◆ GetNamedAnimation()

ANamedAnimation * AToshiAnimationRef::GetNamedAnimation ( ) const
inline

Definition at line 22 of file AToshiAnimationInterface.h.

22{ return m_pNamedAnimation; }

◆ GetSequenceId()

TUINT16 AToshiAnimationRef::GetSequenceId ( ) const
inline

Definition at line 21 of file AToshiAnimationInterface.h.

21{ return m_pNamedAnimation->GetSequenceId(); }

◆ GetTransition()

ANamedAnimationTransition * AToshiAnimationRef::GetTransition ( ) const
inline

Definition at line 23 of file AToshiAnimationInterface.h.

23{ return m_pTransition; }

◆ SetWeight()

void AToshiAnimationRef::SetWeight ( TFLOAT a_fWeight)
inline

Definition at line 19 of file AToshiAnimationInterface.h.

19{ m_fWeight = a_fWeight; }

Friends And Related Symbol Documentation

◆ AToshiAnimationInterface

friend class AToshiAnimationInterface
friend

Definition at line 13 of file AToshiAnimationInterface.h.


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