OnSurfacePick method

Determines whether any part of the surface is located at the specified point.

Syntax

HRESULT retVal = object.OnSurfacePick(OutPoint, ulInputIndex, InVec);

Parameters

  • OutPoint [ref]
    Type: const CDXDBnds

    Coordinates of the point on the output surface to test.

  • ulInputIndex [ref]
    Type: unsigned long

    Not used for procedural surfaces.

  • InVec [ref]
    Type: CDXDVec

    Not used for procedural surfaces.

Remarks

Procedural surfaces can only know if there is a sample located at the specified point. There is no input surface to map the point back to, so ulInputIndex and InVec should return NULL.

See also

IDXSurfacePick