SLProject 4.0.000
SLAnimKeyframe Class Reference

Base class for all animation keyframes. More...

#include <SLAnimKeyframe.h>

Inheritance diagram for SLAnimKeyframe:
[legend]

Public Member Functions

 SLAnimKeyframe (const SLAnimTrack *parent, SLfloat time)
 
bool operator< (const SLAnimKeyframe &other) const
 
void time (SLfloat t)
 
SLfloat time () const
 
SLbool isValid () const
 

Protected Attributes

const SLAnimTrack_parentTrack
 owning animation track for this keyframe More...
 
SLfloat _time
 temporal position in local time relative to the keyframes parent clip in seconds More...
 
SLbool _isValid
 is this keyframe in use inside its parent track More...
 

Detailed Description

Base class for all animation keyframes.

Constructor & Destructor Documentation

◆ SLAnimKeyframe()

SLAnimKeyframe::SLAnimKeyframe ( const SLAnimTrack parent,
SLfloat  time 
)

Constructor for default keyframes.

Member Function Documentation

◆ isValid()

SLbool SLAnimKeyframe::isValid ( ) const
inline

◆ operator<()

bool SLAnimKeyframe::operator< ( const SLAnimKeyframe other) const

Comperator operator.

◆ time() [1/2]

SLfloat SLAnimKeyframe::time ( ) const
inline

◆ time() [2/2]

void SLAnimKeyframe::time ( SLfloat  t)
inline

Member Data Documentation

◆ _isValid

SLbool SLAnimKeyframe::_isValid
protected

is this keyframe in use inside its parent track

◆ _parentTrack

const SLAnimTrack* SLAnimKeyframe::_parentTrack
protected

owning animation track for this keyframe

◆ _time

SLfloat SLAnimKeyframe::_time
protected

temporal position in local time relative to the keyframes parent clip in seconds


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