3ds Max C++ API Reference
RandObjLinker.h File Reference

Class definitions for RandObjLinker RandObjLinker links (creates) a RandGenerator for each supplied Object (usually its a particle system). More...

#include "PFExport.h"
#include "../RandGenerator.h"
#include "../maxheap.h"
#include "../tab.h"

Classes

class  RandObjLinker
 

Detailed Description

Class definitions for RandObjLinker RandObjLinker links (creates) a RandGenerator for each supplied Object (usually its a particle system).

Tests/Operators that use randomization have this an instance of this class as a member. A Test/Operator may serve several particle systems. For each particle system the Test/Operator has to keep a dedicated copy of RandGenerator. This copy of RandGenerator is used exclusively for the designated particle system. This scheme allows not to mix randomization for different particle systems.