PM_OVERLAY_ADD_3D_ARROW
Syntax
handle_val = PM_OVERLAY_ADD_3D_ARROW ( overlay_handle, [properties_tag_record_handle,] x, y, z, dx, dy, dz );
- Input arguments
-
handle overlay_handle Handle of the overlay context to which to add the arrow. float x X coordinate of the arrow base in world space. float y Y coordinate of the arrow base in world space. float z Z coordinate of the arrow base in world space. float dx DX deviation of the arrow in X direction. float dy DX deviation of the arrow in Y direction. float dz DX deviation of the arrow in Z direction.
- Optional input arguments
-
handle properties_tag_record_handle Handle of the tag record from which to get the properties of the text.
Accepted properties: color.
Return Values
- Success:
-
handle entity_handle Handle to the created overlay entity.
- Failure:
-
int -1 Script interface error.
Description
This function adds a 3D arrow 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