Mesh.ComputeTangentFrame(TangentOptions) Method (Microsoft.DirectX.Direct3D)
Performs tangent frame computations on a mesh. Tangent, binormal, and optionally normal vectors are generated. Singularities are handled as required by grouping edges and splitting vertices.
Definition
Visual Basic Public Sub ComputeTangentFrame( _
ByVal options As TangentOptions _
)C# public void ComputeTangentFrame(
TangentOptions options
);C++ public:
void ComputeTangentFrame(
TangentOptions options
);JScript public function ComputeTangentFrame(
options : TangentOptions
);
Parameters
options Microsoft.DirectX.Direct3D.TangentOptions
Combination of one or more TangentOptions values that specify tangent frame computation options. If zero, the following options will be specified: & ( GenerateInPlace | ( !( WeightByArea | WeightEqual | OrthogonalizeFromU | OrthogonalizeFromV | WrapUV | DontNormalizePartials | WindClockwise | CalculateNormals ) ).
Remarks
Exceptions
The method call is invalid. For example, a method's parameter might contain an invalid value.
Microsoft Direct3D could not allocate sufficient memory to complete the call.
See Also