formZ SDK | 5.0 API Reference | Project | Modeling | Rendering | Render Materials

# fz_rmtl_ptr_to_pos

Description

Gets the logical (numbered) position of the surface style in the project from the surface style pointer. The position values are 0 based.

Plugin Prototype

fzrt_error_td fz_rmtl_ptr_to_pos(

fzrt_int | windex,
fz_rmtl_ptr | rmtl,
fzrt_int * | pos )

Parameters

windex [Input]

project window index

rmtl [Input]

surface style

pos [Result]

logical position of surface style

Returns

Error codes

Availability

5.0.0.0

Example Files

util_rmtl.fsl

Function Set

fz_rmtl_fset

Defined in

fz_rmtl_api.h