Reference System
 
 
 

The 3ds Max reference system is primarily a mechanism for scene objects and plug-ins to communicate. A reference between two objects models the subject-observer pattern.

When talking about a "reference" the SDK documentation is talking about a reference link from a reference maker to a reference target. A reference maker manages the references and exposes them via the function ReferenceMaker::GetReference(). Each reference managed by a reference maker is identified by an integer value called the reference index.

Objects that wish to be notified of changes in target objects (i.e. observers) are called reference makers and must derive from ReferenceMaker. The target object (i.e. subject) is called the reference target and must derived from ReferenceTarget. In 3ds Max all subjects can also be observers so ReferenceTarget derives from ReferenceMaker .

Strong references are used by 3ds Max to manage the lifetime of scene objects.

There are three kinds of references:

Reference relationships themselves are not represented by a specific class, but are managed through methods of ReferenceMaker.

See Also