This document is archived and information here might be outdated. Recommended version. |
Copies the Normal for patch at specified vertex index into the input vector.
[Visual Basic .NET] Public Sub QueryPatchNormal ( _ ByVal patch As Integer, _ ByVal Index As Integer, _ ByVal pNormal As IVector3D _ )
[C#] public void QueryPatchNormal ( int patch, int Index, IVector3D pNormal );
[C++]
HRESULT QueryPatchNormal(
long patch,
long Index,
IVector3D* pNormal
);
[C++] Parameters patch [in]
patch is a parameter of type long Index [in]
Index is a parameter of type long pNormal
pNormal is a parameter of type IVector3D*
Queries the Normal vector at the specified geometry vertex associated with the Patch located at the specified index.
A Vector3D object must be instantiated before being passed as the normal parameter to this method.