ArcObjects Library Reference (3DAnalyst)  

ISceneGraph.Locate Method

Locates a single object.

[Visual Basic .NET]
Public Sub Locate ( _
    ByVal pViewer As ISceneViewer, _
    ByVal x As Integer, _
    ByVal y As Integer, _
    ByVal mode As esriScenePickMode, _
    ByVal bGetTransformed As Boolean, _
    ByRef ppPt As IPoint, _
    ByRef ppOwner As Object, _
    ByRef ppObject As Object _
)
[C#]
public void Locate (
    ISceneViewer pViewer,
    int x,
    int y,
    esriScenePickMode mode,
    bool bGetTransformed,
    ref IPoint ppPt,
    ref object ppOwner,
    ref object ppObject
);
[C++]
HRESULT Locate(
  ISceneViewer* pViewer,
  long x,
  long y,
  esriScenePickMode mode,
  VARIANT_BOOL bGetTransformed,
  IPoint** ppPt,
  LPUNKNOWN* ppOwner,
  LPUNKNOWN* ppObject
);
[C++]

Parameters

pViewer [in]

  pViewer is a parameter of type ISceneViewer

x [in]   x is a parameter of type long y [in]   y is a parameter of type long mode [in]

  mode is a parameter of type esriScenePickMode

bGetTransformed [in]   bGetTransformed is a parameter of type VARIANT_BOOL ppPt [out]

  ppPt is a parameter of type IPoint

ppOwner [out]   ppOwner is a parameter of type LPUNKNOWN ppObject [out]   ppObject is a parameter of type LPUNKNOWN

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

See Also

ISceneGraph Interface

.NET Samples

Custom scene navigation commands (Code Files: Fly) |