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

# fz_rmtl_pos_to_ptr

Description

Gets the surface style pointer from the logical (numbered) position of a surface style in the project. The position passed in must be 0 based.

Plugin Prototype

fzrt_error_td fz_rmtl_pos_to_ptr(

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

Parameters

windex [Input]

project window index

pos [Input]

logical position of surface style

rmtl [Result]

surface style

Returns

Error codes

Availability

5.0.0.0

Example Files

util_attr_rmtl.fsl
util_rmtl.fsl

Function Set

fz_rmtl_fset

Defined in

fz_rmtl_api.h