itemui (lx_itemui.hpp)

From The Foundry MODO SDK wiki
(Redirected from LXu CHANNELDEST (index))
Jump to: navigation, search
There are security restrictions on this page


(1) SDK: Declarations
 #define LXu_LOCATORDEST         "451EE72D-640C-43E4-AE1A-153684133C65"
 #define LXa_LOCATORDEST         "locatorDestination"

The locator item that was dropped on can be obtained with this function. Note that the item may be NULL if the drop was performed on a non-locator item or not on an item.

(2) SDK: ILxLocatorDest interface
         LXxMETHOD( LxResult,
 Item) (
         LXtObjectID              self,
         void                    **ppvObj);

(3) SDK: ILxLocatorDest interface
         LXxMETHOD( int,
 Location) (
         LXtObjectID              self);

(4) SDK: Declarations
 #define LXu_MESHOPDEST          "451EE72D-640C-43E4-AE1A-153684133C42"
 #define LXa_MESHOPDEST          "meshOpDestination"

Data from MeshOpDest object can be obtained using these interfaces.

(5) SDK: ILxMeshOpDest interface
         LXxMETHOD( LxResult,
 Item) (
         LXtObjectID       self,
         void            **ppvObj);
 
         LXxMETHOD( LxResult,
 ItemDeformer) (
         LXtObjectID       self,
         void            **ppvObj);
 
         LXxMETHOD( LxResult,
 ItemHG) (
         LXtObjectID       self,
         void            **itemHG);
 
         LXxMETHOD( const char*,
 Graph) (
         LXtObjectID      self);
 
         LXxMETHOD( int,
 Location) (
         LXtObjectID      self);

(6) SDK: Declarations
 #define LXu_MESHDEST            "DD13F0F7-9BA1-42EB-B36A-653B322FD520"
 #define LXa_MESHDEST            "meshDestination"

The mesh item that was dropped on can be obtained with this function.

(7) SDK: ILxMeshDest interface
         LXxMETHOD( LxResult,
 Item) (
         LXtObjectID              self,
         void                    **ppvObj);

The world position of the hit location can be obtained with this function.

(8) SDK: ILxMeshDest interface
         LXxMETHOD( LxResult,
 HitPosition) (
         LXtObjectID              self,
         LXtVector                pos);

The surface normal of the hit location in world space can be obtained with this function.

(9) SDK: ILxMeshDest interface
         LXxMETHOD( LxResult,
 HitNormal) (
         LXtObjectID              self,
         LXtVector                nrm);

(10) SDK: Declarations
 #define LXu_CHANNELDEST         "0C84BE94-9B18-42F5-B374-48C5CD278D55"
 #define LXa_CHANNELDEST         "channelDestination"

The channel that was dropped on can be obtained with this function.

(11) SDK: ILxChannelDest interface
         LXxMETHOD( LxResult,
 Channel) (
         LXtObjectID              self,
         void                    **ppvObj);

(12) SDK: ILxChannelDest interface
         LXxMETHOD( int,
 Location) (
         LXtObjectID              self);

(13) SDK: Declarations
 #define LXu_ITEMTYPEDEST        "F088D1C9-78D9-4F73-A906-9BD7EDA0B47D"
 #define LXa_ITEMTYPEDEST        "itemtypeDestination"
 
 #define LXsITEMTYPEPRESET_EXTENSION     ".itemtype"

The item that was dropped on can be obtained with this function. Note that the item may be NULL.

(14) SDK: ILxItemTypeDest interface
         LXxMETHOD( LxResult,
 Item) (
         LXtObjectID              self,
         void                    **ppvObj);

(15) SDK: ILxItemTypeDest interface
         LXxMETHOD( int,
 Location) (
         LXtObjectID              self);