3ds Max C++ API Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
IRefTargWrappingRefTarg Class Referenceabstract

An interface for ReferenceTargets that wrap ReferenceTargets, where the wrapping ReferenceTarget provides UI/storage on top of the wrapped ReferenceTarget. More...

#include <IRefTargWrappingRefTarg.h>

Public Member Functions

virtual ReferenceTargetGetWrappedObject (bool recurse) const =0
 Returns the wrapped ReferenceTarget.
 

Static Public Member Functions

static ReferenceTargetGetWrappedObject (ReferenceTarget *wrappingObject, bool recurse)
 Returns the wrapped ReferenceTarget.
 

Detailed Description

An interface for ReferenceTargets that wrap ReferenceTargets, where the wrapping ReferenceTarget provides UI/storage on top of the wrapped ReferenceTarget.

Member Function Documentation

◆ GetWrappedObject() [1/2]

static ReferenceTarget * GetWrappedObject ( ReferenceTarget wrappingObject,
bool  recurse 
)
static

Returns the wrapped ReferenceTarget.

Parameters
wrappingObjectThe wrapper for which to potentially resolve the wrapped object.
recurse- If true, the implementation should check to see if the wrapped ReferenceTarget derives from IRefTargWrappingRefTarg, and if so recurse into that object.
Returns
The wrapped ReferenceTarget.

◆ GetWrappedObject() [2/2]

virtual ReferenceTarget * GetWrappedObject ( bool  recurse) const
pure virtual

Returns the wrapped ReferenceTarget.

Parameters
recurse- If true, the implementation should check to see if the wrapped ReferenceTarget derives from IRefTargWrappingRefTarg, and if so recurse into that object.
Returns
The wrapped ReferenceTarget.