The IDA2Geometry interface is the COM interface that extends the IDAGeometry interface. You can access all the methods listed in the DAGeometry class in the Scripting Reference from the IDA2Geometry interface. This section lists only those methods that you can't access from script, but must access through the COM interface, typically using C++. These methods access IUnknown, something you can't do from script.
This interface inherits from IDAGeometry, which in turn inherits from IDABehavior. These are all dispatch interfaces that inherit from IDispatch.
IDA2Geometry Methods
AddPickData This method is obsolete. D3DRMTexture Creates a new geometry object with the specified Direct3D Retained Mode texture applied to it.
This method is obsolete.
Syntax
HRESULT AddPickData( IUnknown *id, VARIANT_BOOL ignoresOcclusion, IDAGeometry **ret );
Parameters
- id
- [in] Pointer to the IUnknown to associate with the new geometry.
- ignoresOcclusion
- [in] Flag specifying whether the new DAGeometry object is pickable even when it is blocked (occluded) by other geometries. If TRUE, the geometry is pickable even when blocked. If FALSE, it is not pickable when blocked.
- ret
- [out] Address of a pointer to the IDAGeometry interface on the new DAGeometry object associated with this IUnknown.
Return Value
Returns an HRESULT value that indicates the success of the method or the reason why it failed. This HRESULT depends on the implementation of the interface.
Creates a new geometry object with the specified Direct3D Retained Mode texture applied to it.
Syntax
HRESULT D3DRMTexture( IUnknown *rmTex, IDAGeometry **ret );
Parameters
- rmTex
- [in] Pointer to the IUnknown on the Direct3D Retained Mode texture to apply to the new geometry.
- ret
- [out] Address of a pointer to the IDAGeometry interface on the new DAGeometry object with the texture applied.
Return Value
Returns an HRESULT value that indicates the success of the method or the reason why it failed. This HRESULT depends on the implementation of the interface.
Remarks
When returning the Direct3D Retained Mode texture, D3DRMTexture first tries to return the IDirect3DRMTexture3 interface. If that fails, D3DRMTexture queries for the IDirect3DRMTexture interface.
Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.