itemui (lx_itemui.hpp)

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


(1) SDK: LXu_LOCATORDEST, etc. defines
 #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: LocatorDest::Item
         LXxMETHOD( LxResult,
 Item) (
         LXtObjectID              self,
         void                    **ppvObj);

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

(4) SDK: empty LocatorDest User Class

(5) PY: empty LocatorDest user class
 pass

(6) SDK: LXu_MESHOPDEST, etc. defines
 #define LXu_MESHOPDEST          "451EE72D-640C-43E4-AE1A-153684133C42"
 #define LXa_MESHOPDEST          "meshOpDestination"

Data from MeshOpDest object can be obtained using these interfaces.

(7) SDK: MeshOpDest::Item, etc.
         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);

(8) SDK: empty MeshOpDest User Class

(9) PY: empty MeshOpDest user class
 pass

(10) SDK: LXu_SHADERDEST, etc. defines
 #define LXu_SHADERDEST          "b346d569-c841-46c8-b501-256571212666"
 #define LXa_SHADERDEST          "ShaderDestination"

Data from ShaderDest object can be obtained using these interfaces.

(11) SDK: ShaderDest::Item, etc.
         LXxMETHOD( LxResult,
 Item) (
         LXtObjectID       self,
         void            **ppvObj);
 
         LXxMETHOD( int,
 Type) (
         LXtObjectID      self);
 
         LXxMETHOD( int,
 Location) (
         LXtObjectID      self);

(12) SDK: LXu_MESHDEST, etc. defines
 #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.

(13) SDK: MeshDest::Item
         LXxMETHOD( LxResult,
 Item) (
         LXtObjectID              self,
         void                    **ppvObj);

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

(14) SDK: MeshDest::HitPosition
         LXxMETHOD( LxResult,
 HitPosition) (
         LXtObjectID              self,
         LXtVector                pos);

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

(15) SDK: MeshDest::HitNormal
         LXxMETHOD( LxResult,
 HitNormal) (
         LXtObjectID              self,
         LXtVector                nrm);

(16) SDK: empty MeshDest User Class

(17) PY: empty MeshDest user class
 pass

(18) SDK: LXu_CHANNELDEST, etc. defines
 #define LXu_CHANNELDEST         "0C84BE94-9B18-42F5-B374-48C5CD278D55"
 #define LXa_CHANNELDEST         "channelDestination"

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

(19) SDK: ChannelDest::Channel
         LXxMETHOD( LxResult,
 Channel) (
         LXtObjectID              self,
         void                    **ppvObj);

(20) SDK: ChannelDest::Location
         LXxMETHOD( int,
 Location) (
         LXtObjectID              self);

(21) SDK: empty ChannelDest User Class

(22) PY: empty ChannelDest user class
 pass

(23) SDK: LXu_ITEMTYPEDEST, etc. defines
 #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.

(24) SDK: ItemTypeDest::Item
         LXxMETHOD( LxResult,
 Item) (
         LXtObjectID              self,
         void                    **ppvObj);

(25) SDK: ItemTypeDest::Location
         LXxMETHOD( int,
 Location) (
         LXtObjectID              self);

(26) SDK: empty ItemTypeDest User Class

(27) PY: empty ItemTypeDest user class
 pass