Previous Up Next

MX3wire
Performs the wire frame rendering of a scene on the surface from a camera having '_camera_' as a handler.
Specify the background color '_color_' (nil for transparent).
The function returns the handler and material for the object identified at the coordinate point (xplot,yplot), nil if none exists.

[H3d HMat3d] MX3wire (
S3d _session_
ObjSurface _surface_
H3d _camera_
I _xplot_
I _yplot_
I _color_
)
Parameters

_session_
3D Session
_surface_
Rendering surface
_camera_
Camera
_xplot_
Screen information position
_yplot_
Screen information position
_color_
Background and fog color
Return value

Returns information on the point (xplot, yplot) in the following order :
Mesh handler
Material handler