3ds Max C++ API Reference
IMixer8 Class Referenceabstract

An interface to the new functionality for max 8 for the mixer. More...

#include <IMixer8.h>

+ Inheritance diagram for IMixer8:

Public Member Functions

virtual bool IsMax ()=0
 Whether or not a max mixer or a biped mixer. More...
 
virtual IMXtrackgroup8GetTrackgroup8 (int index)=0
 Returns the IMXtrackgroup8 interface for the specified clip. More...
 
virtual void SetNodes (INodeTab &nodeTab, BOOL collapse)=0
 Set the nodes for the max mixer. More...
 
virtual void GetNodes (INodeTab &nodeTab)=0
 Get the nodes for this max mixer. More...
 
virtual const MCHARGetName ()=0
 Get the name of the mixer. More...
 
virtual bool SetName (const MCHAR *name)=0
 Set the name of the mixer. More...
 
- Public Member Functions inherited from IMixer
virtual ~IMixer ()
 
virtual int NumTrackgroups ()=0
 
virtual IMXtrackgroupGetTrackgroup (int index)=0
 
virtual BOOL InsertTrackgroup (int index)=0
 
virtual BOOL DeleteTrackgroup (int index)=0
 
virtual float GetBalancePropagation ()=0
 
virtual BOOL SetBalancePropagation (float val)=0
 
virtual float GetBalanceLateralRatio ()=0
 
virtual BOOL SetBalanceLateralRatio (float val)=0
 
virtual BOOL GetBalanceMute ()=0
 
virtual BOOL SetBalanceMute (BOOL val)=0
 
virtual BOOL IsPerformingMixdown ()=0
 
virtual void InvalidateRawMix ()=0
 
virtual void EffectRawMix ()=0
 
virtual void EffectMixdown ()=0
 
virtual BOOL Mixdown (BOOL KeyPerFrame, BOOL EnforceIkConstraints, int ContinuityRange, BOOL FilterHyperExtLegs, float MaxKneeAngle)=0
 
virtual void CopyClipSourceToBiped (IMXclip *iCP)=0
 
virtual void CopyMixdownToBiped ()=0
 
virtual BOOL LoadMixFile (const MCHAR *fname, BOOL redraw)=0
 
virtual BOOL SaveMixFile (const MCHAR *fname)=0
 
virtual void GetInterval (Interval &iv)=0
 
virtual BOOL ExistingMixdown ()=0
 
virtual void ClearMixer ()=0
 
virtual BOOL GetSnapFrames ()=0
 
virtual void SetSnapFrames (BOOL onOff)=0
 
virtual BOOL GetShowTgRangebars ()=0
 
virtual void SetShowTgRangebars (BOOL onOff)=0
 
virtual BOOL GetShowWgtCurves ()=0
 
virtual void SetShowWgtCurves (BOOL onOff)=0
 
virtual BOOL GetShowTimeWarps ()=0
 
virtual void SetShowTimeWarps (BOOL onOff)=0
 
virtual BOOL GetShowClipBounds ()=0
 
virtual void SetShowClipBounds (BOOL onOff)=0
 
virtual BOOL GetShowGlobal ()=0
 
virtual void SetShowGlobal (BOOL onOff)=0
 
virtual BOOL GetShowClipNames ()=0
 
virtual void SetShowClipNames (BOOL onOff)=0
 
virtual BOOL GetShowClipScale ()=0
 
virtual void SetShowClipScale (BOOL onOff)=0
 
virtual BOOL GetShowTransStart ()=0
 
virtual void SetShowTransStart (BOOL onOff)=0
 
virtual BOOL GetShowTransEnd ()=0
 
virtual void SetShowTransEnd (BOOL onOff)=0
 
virtual BOOL GetShowBalance ()=0
 
virtual void SetShowBalance (BOOL onOff)=0
 
virtual BOOL GetSnapToClips ()=0
 
virtual void SetSnapToClips (BOOL onOff)=0
 
virtual BOOL GetLockTransitions ()=0
 
virtual void SetLockTransitions (BOOL onOff)=0
 
virtual void SetAnimationRange ()=0
 
virtual void ZoomExtents ()=0
 
virtual void UpdateDisplay ()=0
 
virtual void AddToDisplay ()=0
 
virtual void RemoveFromDisplay ()=0
 
virtual void ShowMixer ()=0
 
virtual void HideMixer ()=0
 

Additional Inherited Members

- Static Public Member Functions inherited from MaxHeapOperators
static UtilExport voidoperator new (size_t size)
 Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e)
 Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport void operator delete (void *ptr)
 Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator. More...
 
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator. More...
 
static UtilExport voidaligned_malloc (size_t size, size_t alignment)
 Allocates memory on a specified alignment boundary. More...
 
static UtilExport voidaligned_realloc (void *ptr, size_t size, size_t alignment)
 Reallocates memory on a specified alignment boundary. More...
 
static UtilExport void aligned_free (void *ptr)
 Frees a block of memory that was allocated with aligned_malloc/aligned_realloc. More...
 

Detailed Description

An interface to the new functionality for max 8 for the mixer.

In particularly, new information for max mixers. Contains functionality relating to the new functionality for max mixers, including setting and getting the name and the nodes in a max mixer. The interface is accessed via TheMaxMixerManager.GetNthMaxMixer or TheMaxMixerManger.GetMaxMixer /see MaxMixerManager::GetNthMaxMixer /see MaxMixerManager::GetMaxMixer

Member Function Documentation

◆ IsMax()

virtual bool IsMax ( )
pure virtual

Whether or not a max mixer or a biped mixer.

Returns
Returns true if it's a max mixer, false if it's a biped mixer.

◆ GetTrackgroup8()

virtual IMXtrackgroup8* GetTrackgroup8 ( int  index)
pure virtual

Returns the IMXtrackgroup8 interface for the specified clip.

Parameters
[in]indexThe index of the trackgroup.
Returns
The new trackgroup interface for this clip. May return NULL if an invalid index is passed in.

◆ SetNodes()

virtual void SetNodes ( INodeTab nodeTab,
BOOL  collapse 
)
pure virtual

Set the nodes for the max mixer.

This function does nothing for biped mixers.

Parameters
[in,out]nodeTabThe nodes that the mixer will now contain. Note that a node may only be in one mix at a time. The nodes that the new max mix now contains will be returned in this tab.
[in]collapseIf TRUE than any node that is no longer part of the max mixer will collapse the animation thats in the mixer onto it's mixed tracks. If FALSE than the original animation that was on these nodes when the node was added to the mixer will now revert back onto the node.

◆ GetNodes()

virtual void GetNodes ( INodeTab nodeTab)
pure virtual

Get the nodes for this max mixer.

This function does nothing for biped mixers.

Parameters
[out]nodeTabThe nodes that make up this max mixer.

◆ GetName()

virtual const MCHAR* GetName ( )
pure virtual

Get the name of the mixer.

Returns
The name of the mixer.

◆ SetName()

virtual bool SetName ( const MCHAR name)
pure virtual

Set the name of the mixer.

Parameters
[in]nameThe name of the mix. Note that you can only set the name name of max mixes and not biped mixes since their name cames from the name of the biped root node.
Returns
Returns truue if the name was changed correctly, returns false if the name wasn't changed either because the mix is a biped mix or the name of the mix already exists in the mixer.