PM_OVERLAY_ADD_3D_POLYLINE
Syntax
handle_val = PM_OVERLAY_ADD_3D_POLYLINE ( overlay_handle, [properties_tag_record_handle,] points_2D_array_handle );
- Input arguments
-
handle overlay_handle Handle of the overlay context to which to add the polyline. handle points_2D_array_handle Handle of the DM_2D_ARRAY that holds the edges of the world space of the polyline.
- Optional input arguments
-
handle properties_tag_record_handle Handle of the tag record from which to get the properties of the polyline.
Accepted properties: color, line width, depth test.
Return Values
- Success:
-
handle entity_handle Handle to the created overlay entity.
- Failure:
-
int -1 Script interface error.
Description
This function adds a 3D polyline to a given overlay context. The overlay context must first be opened with PM_OVERLAY_OPEN(overlay_handle).
Example
%PMS_HOME%\pm\macro\Examples\PM_OVERLAY_DEMO.mac
Function Set
Related Functions