IMesh::GetTriangleStrips

Creates a list of triangle strips.

   

HRESULT GetTriangleStrips( long maxStripLen, HWND hwnd, DWORD flags, ITriangleStrips** ppstrips );

Parameters

maxStripLen
[in] Maximum number of triangles contained in any one triangle strip.
hwnd
[in] Window handle returned by IEditCharacter::GetWindow. This value can be NULL.
flags
[in] A value of 0 will show the progress dialog with a cancel button, a value of 1 will remove the cancel button.
ppstrips
[out,retval] Address of a triangle strip pointer.

Return Values

Remarks

If hwnd is set to a valid window handle a progress dialog will be shown during creation.

See Also

IEditCharacter, ITriangleStrips

Copyright © 2004-2010 Fragmosoft