formZ SDK | 4.0 Call Back Reference | Renderer

# fz_rndr_cbak_handle_view

Description

Returns whether the renderer can handle a particular view. The window for the current rendering and the view are passed in. The function should use the view API functions to retrieve the necessary parameters of the view to determine, whether is can faithfully display the geometry in the scene with the view's settings. For example, a renderer may be able to display in a standard perspective, but when the Keep Vertical Lines Straight option is selected, the renderer may not be able to handle the view. In this case the function should return TRUE, if the option is off and FALSE if it is on. Other, more exotic view types such as panoramic, may not be handled at all, in which case FALSE will be returned for all views of that type.

Plugin Prototype

fzrt_boolean fz_rndr_cbak_handle_view(

fzrt_int | windex,
fz_view_ptr | view )

Parameters

windex [Input]

project window index

view [Input]

the view which the renderer is requested to display.

Returns

TRUE, if the renderer can handle the view, FALSE otherwise.

Availability

5.0.0.0

Function Set

fz_rndr_cbak_fset

Defined in

fz_rndr_api.h