This document is archived and information here might be outdated.  Recommended version.


ISceneRenderer.Locate Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (3DAnalyst)  

ISceneRenderer.Locate Method

Locates an object given a hint, ray, and geometry node hit.

[Visual Basic .NET]
Public Sub Locate ( _
    ByVal hint As Integer, _
    ByVal pQueryRay As IRay, _
    ByVal bGetTransformed As Boolean, _
    ByVal pGeoNode As Object, _
    ByRef ppPoint As IPoint, _
    ByRef ppObject As Object _
)
[C#]
public void Locate (
    int hint,
    IRay pQueryRay,
    bool bGetTransformed,
    object pGeoNode,
    ref IPoint ppPoint,
    ref object ppObject
);
[C++]
HRESULT Locate(
  long hint,
  IRay* pQueryRay,
  VARIANT_BOOL bGetTransformed,
  LPUNKNOWN pGeoNode,
  IPoint** ppPoint,
  IUnknown Pointer* ppObject
);
[C++]

Parameters hint [in]
hint is a parameter of type long pQueryRay [in]
pQueryRay is a parameter of type IRay* bGetTransformed [in]
bGetTransformed is a parameter of type bool pGeoNode [in]
pGeoNode is a parameter of type IUnknown ppPoint [out]
ppPoint is a parameter of type IPoint** ppObject [out]
ppObject is a parameter of type IUnknown*

Product Availability

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

See Also

ISceneRenderer Interface