Legacy interface for xref objects.
Note:In 3ds Max 8 this class was replaced with class IXrefObject8. It is still documented for backwards compatibility.
INode *node = ip->GetSelNode(0); Object *obj = node->GetObjectRef(); if (obj->SuperClassID()==SYSTEM_CLASS_ID && obj->ClassID()==XREFOBJ_CLASS_ID) { IXRefObject *ix = (IXRefObject *)obj; ix->BrowseFile(FALSE); }
#include <iXrefObj.h>
Public Member Functions |
|
Class_ID | ClassID () |
Retrieves a constant that uniquely
identifies the plugin class. |
|
SClass_ID | SuperClassID () |
Retrieves a constant representing the type
of the plugin. |
|
virtual void | Init (const MaxSDK::AssetManagement::AssetUser &asset, const MSTR &oname, Object *ob, BOOL asProxy=FALSE)=0 |
virtual void | SetFile (const MaxSDK::AssetManagement::AssetUser &asset, BOOL proxy=FALSE, BOOL update=TRUE)=0 |
virtual void | SetObjName (MCHAR *name, BOOL proxy=FALSE)=0 |
virtual void | SetUseProxy (BOOL onOff, BOOL redraw=TRUE)=0 |
virtual void | SetRenderProxy (BOOL onOff)=0 |
virtual void | SetUpdateMats (BOOL onOff)=0 |
virtual void | SetIgnoreAnim (BOOL onOff, BOOL redraw=TRUE)=0 |
virtual
const MaxSDK::AssetManagement::AssetUser & |
GetFile (BOOL proxy=FALSE) const =0 |
virtual MSTR | GetObjName (BOOL proxy=FALSE) const =0 |
virtual
const MaxSDK::AssetManagement::AssetUser & |
GetCurFile () const =0 |
virtual void | SetCurFile (const MaxSDK::AssetManagement::AssetUser &)=0 |
virtual const MSTR & | GetCurObjName () const =0 |
virtual void | SetCurObjName (const MCHAR *name)=0 |
virtual BOOL | GetUseProxy ()=0 |
virtual BOOL | GetRenderProxy ()=0 |
virtual BOOL | GetUpdateMats ()=0 |
virtual BOOL | GetIgnoreAnim ()=0 |
virtual void | BrowseObject (BOOL proxy)=0 |
virtual void | BrowseFile (BOOL proxy)=0 |
virtual void | ReloadXRef ()=0 |
Class_ID ClassID | ( | ) | [inline, virtual] |
Retrieves a constant that uniquely identifies the plugin class.
This method must return the unique ID for the plugin class. If two ClassIDs conflict, the system will only load the first conflicting one it finds. A program (gencid.exe) is provided to generate unique class id values.
Reimplemented from Animatable.
{return XREFOBJ_CLASS_ID;}
SClass_ID SuperClassID | ( | ) | [inline, virtual] |
Retrieves a constant representing the type of the plugin.
Reimplemented from ReferenceTarget.
{return SYSTEM_CLASS_ID;}
virtual void Init | ( | const MaxSDK::AssetManagement::AssetUser & | asset, |
const MSTR & | oname, | ||
Object * | ob, | ||
BOOL | asProxy =
FALSE |
||
) | [pure virtual] |
Implemented in IXRefObject8.
virtual void SetFile | ( | const MaxSDK::AssetManagement::AssetUser & | asset, |
BOOL | proxy = FALSE , |
||
BOOL | update =
TRUE |
||
) | [pure virtual] |
Implemented in IXRefObject8.
virtual void SetObjName | ( | MCHAR * | name, |
BOOL | proxy =
FALSE |
||
) | [pure virtual] |
Implemented in IXRefObject8.
virtual void SetUseProxy | ( | BOOL | onOff, |
BOOL | redraw =
TRUE |
||
) | [pure virtual] |
Implemented in IXRefObject8.
virtual void SetRenderProxy | ( | BOOL | onOff | ) | [pure virtual] |
Implemented in IXRefObject8.
virtual void SetUpdateMats | ( | BOOL | onOff | ) | [pure virtual] |
virtual void SetIgnoreAnim | ( | BOOL | onOff, |
BOOL | redraw =
TRUE |
||
) | [pure virtual] |
virtual const MaxSDK::AssetManagement::AssetUser& GetFile | ( | BOOL | proxy = FALSE |
) | const [pure virtual] |
Implemented in IXRefObject8.
virtual MSTR GetObjName | ( | BOOL | proxy = FALSE |
) | const [pure virtual] |
Implemented in IXRefObject8.
virtual const MaxSDK::AssetManagement::AssetUser& GetCurFile | ( | ) | const [pure virtual] |
virtual void SetCurFile | ( | const MaxSDK::AssetManagement::AssetUser & | ) | [pure virtual] |
virtual const MSTR& GetCurObjName | ( | ) | const [pure virtual] |
virtual void SetCurObjName | ( | const MCHAR * | name | ) | [pure virtual] |
virtual BOOL GetUseProxy | ( | ) | [pure virtual] |
Implemented in IXRefObject8.
virtual BOOL GetRenderProxy | ( | ) | [pure virtual] |
Implemented in IXRefObject8.
virtual BOOL GetUpdateMats | ( | ) | [pure virtual] |
virtual BOOL GetIgnoreAnim | ( | ) | [pure virtual] |
virtual void BrowseObject | ( | BOOL | proxy | ) | [pure virtual] |
virtual void BrowseFile | ( | BOOL | proxy | ) | [pure virtual] |
virtual void ReloadXRef | ( | ) | [pure virtual] |