Turok
 
Loading...
Searching...
No Matches
kFxIterator Class Reference

The way to iterate through all Fx in the map. Example code: More...

Public Member Functions

 kFxIterator ()
 
kFx Get ()
 Returns the next Fx in the iterator.
 
void Reset ()
 Resets the iterator back to the first Fx.
 

Detailed Description

The way to iterate through all Fx in the map. Example code:

kFx @fx;
while((@fx = it.Get()) !is null)
{
// Do something with fx
}
kFx Get()
Returns the next Fx in the iterator.

Definition at line 2170 of file t1_scriptAPI.cpp.

Constructor & Destructor Documentation

◆ kFxIterator()

kFxIterator::kFxIterator ( )

Member Function Documentation

◆ Get()

kFx kFxIterator::Get ( )

Returns the next Fx in the iterator.

◆ Reset()

void kFxIterator::Reset ( )

Resets the iterator back to the first Fx.