| Package com.ms.com.directX |
Previous |
Microsoft Packages |
Index |
Next |
Applications use the methods of the d3drmPickedArray class to organize pick objects.
public class d3drmPickedArray implements Id3drmPickedArray
{
public void InternalSetObject(IUnknown lpdd);
public IUnknown InternalGetObject();
public int GetSize();
public d3drmVisual GetPickVisual(int index, d3drmPickDesc desc);
public d3drmFrameArray GetPickFrame(int index, d3drmPickDesc desc);
}
There are the following methods:
| GetSize | GetPickFrame | GetPickVisual |
The d3drmPickedArray object is obtained by calling the Pick method.
public int GetSize();Retrieves the number of d3drmVisual and d3drmFrameArray objects associated with this object.
Return Value:
Returns the number of objects.
public d3drmFrameArray GetPickFrame(int index, d3drmPickDesc desc);Retrieves one of the d3drmFrameArray objects associated with this object.
Return Value:
Returns the d3drmFrameArray object if successful, or null otherwise.
Parameter Description index Identifies the object to return. Must be a value between 0 and one less than the number returned by the GetSize method. desc d3drmPickDesc object that receives the pick description.
public d3drmVisual GetPickVisual(int index, d3drmPickDesc desc);Retrieves one of the d3drmVisual objects associated with this object.
Return Value:
Returns the d3drmVisual object if successful, or null otherwise.
Parameter Description index Identifies the object to return. Must be a value between 0 and one less than the number returned by the GetSize method. desc d3drmPickDesc object that receives the pick description.
| © 1997 Microsoft Corporation. All rights reserved. Terms of Use. |