Class IScene

3DS Max Plug-In SDK

Class IScene

See Also: Class ITreeEnumProc, Class INode.

class IScene

Description:

Methods of this class may be used to enumerate the scene and to flag certain nodes in the scene. Nodes chosen by the plug-in may be flagged using the EnumTree() method. Selected nodes may be flagged using FlagFGSelected(). Animated nodes may be flagged using FlagFGAnimated() and dependent nodes may be flagged using FlagFGDependent().

Methods:

Prototype:

virtual int EnumTree( ITreeEnumProc *proc )=0;

Remarks:

Implemented by the System.

This may be called to enumerate every INode in the scene. The callback may flag any of these nodes (using INode::FlagForeground()).

Parameters:

ITreeEnumProc *proc

This callback object is called once for each INode in the scene.

Return Value:

Nonzero if the process was aborted by the callback (TREE_ABORT); otherwise 0.

Prototype:

virtual void FlagFGSelected( TimeValue t )=0;

Remarks:

Implemented by the System.

Flags all selected nodes in the scene.

Parameters:

TimeValue t

The time to flag the nodes.

Prototype:

virtual void FlagFGAnimated( TimeValue t )=0;

Remarks:

Implemented by the System.

Flags all animated nodes in the scene.

Parameters:

TimeValue t

The time to flag the nodes.

Prototype:

virtual void FlagFGDependent( TimeValue t, BaseObject *obj )=0;

Remarks:

Implemented by the System.

Flags nodes that are dependent on the given object.

Parameters:

TimeValue t

The time to flag the nodes.

BaseObject *obj

The object whose dependent nodes should be flagged.