formZ SDK | 5.0 API Reference | System | Texture Maps

# fz_tmap_get_crop_rect

Description

Gets the cropping rectangle of a texture map. This is a rectangle which specifies a sub portion of the texture.
fz_tmap_find_file should be called before using this function.

Plugin Prototype

fzrt_error_td fz_tmap_get_crop_rect(

fz_tmap_ptr | tmap,
fzrt_rect * | rect )

Parameters

tmap [Input]

the texture map for which to get the cropping rectangle

rect [Result]

the cropping rectangle

Returns

error codes

Availability

5.0.0.0

See Also

Function Set

fz_tmap_fset

Defined in

fz_tmap_api.h