newspeoplefor developersdocumentationdownloads

nAnimEventTrack Class Reference
[Animation Subsystem]

#include <nanimeventtrack.h>

List of all members.


Detailed Description

An anim event track contains timed events which are associated with a matrix. These events are triggered when the playback cursor of an anim clip goes over an anim event. Anim event tracks are usually added to anim clips.

(C) 2005 Radon Labs GmbH

Definition at line 20 of file nanimeventtrack.h.


Public Member Functions

 nAnimEventTrack ()
 constructor
void SetName (const nString &n)
 set the track's name
const nStringGetName () const
 get the tracks name
void SetNumEvents (int num)
 set number of events
int GetNumEvents () const
 get number of events
void SetEvent (int index, const nAnimEvent &e)
 set an event at given index
void AddEvent (const nAnimEvent &e)
 add an event at the end
const nAnimEventGetEvent (int index) const
 get event at index
nArray< nAnimEvent > & EventArray ()
 read/write access to animation event array

Constructor & Destructor Documentation

nAnimEventTrack::nAnimEventTrack  )  [inline]
 

constructor

Definition at line 51 of file nanimeventtrack.h.


Member Function Documentation

void nAnimEventTrack::SetName const nString n  )  [inline]
 

set the track's name

Definition at line 61 of file nanimeventtrack.h.

const nString & nAnimEventTrack::GetName  )  const [inline]
 

get the tracks name

Definition at line 71 of file nanimeventtrack.h.

void nAnimEventTrack::SetNumEvents int  num  )  [inline]
 

set number of events

Definition at line 81 of file nanimeventtrack.h.

int nAnimEventTrack::GetNumEvents  )  const [inline]
 

get number of events

Definition at line 91 of file nanimeventtrack.h.

void nAnimEventTrack::SetEvent int  index,
const nAnimEvent e
[inline]
 

set an event at given index

Definition at line 101 of file nanimeventtrack.h.

void nAnimEventTrack::AddEvent const nAnimEvent e  )  [inline]
 

add an event at the end

Definition at line 111 of file nanimeventtrack.h.

const nAnimEvent & nAnimEventTrack::GetEvent int  index  )  const [inline]
 

get event at index

Definition at line 121 of file nanimeventtrack.h.

nArray< nAnimEvent > & nAnimEventTrack::EventArray  )  [inline]
 

read/write access to animation event array

Definition at line 131 of file nanimeventtrack.h.


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

Copyright © 1999-2005 by the contributing authors. Ideas, requests, problems: Send feedback.