formZ SDK | 4.0 Call Back Reference | File Translator | Structured File Translator | Data Model Call Back

fz_ffmt_cbak_data_model_write_polylines

Description

A function to export a connected set of line segments. This function is called when the translator is to export a connected set of line segments. If the files format does not support polyline data, this function pointer should be set to NULL and no implementation is necessary.

Plugin Prototype

fzrt_error_td fz_ffmt_cbak_data_model_write_polylines(

fzrt_int

windex,

fz_ffmt_ref_td

ffmt_id,

void *

data,

fz_objt_ptr

obj,

fz_xyz_td *

vertex_normals,

fz_xy_td *

vertex_texture_uvs )

Parameters

windex [Input]

project window index

ffmt_id [Input]

The file format reference id.

data [Input]

A pointer to translator defined data.

obj [Input]

The object to export.

vertex_normals [Input]

An array of vertex normals. The size of the array will be equal to the number of vertices in the object. If this array is NULL, do not export vertex normals.

vertex_texture_uvs [Input]

An array of texture coordinates. The size of the array will be equal to the number of vertices in the object. If this array is NULL, do not export texture coordinates.

Returns

FZRT_NOERR on success.
otherwise an appropriate error.

Availability

5.0.0.0

Function Set

fz_ffmt_cbak_data_model_fset


Defined in

fz_ffmt_api.h