formZ SDK | 5.0 API Reference | System | Data Type
Description
This function performs the following data type conversions:
Variant Type Conversion
fz_xyz_td x value copied to red,
y value copied to green,
z value copied to blue, no data lost.
fz_xyzw_td x value copied to red,
y value copied to green,
z value copied to blue, w lost.
fz_xyz_float_td x value copied to red,
y value copied to green,
z value copied to blue, no data lost.
fz_rgb_uchar_td values divided by 255.0, no data lost.
fz_rgb_ushort_td values divided by 65535.0, no data lost.
Plugin Prototype
fzrt_error_td fz_type_get_rgb_float(
type, | |
frgb ) |
Parameters
type [Input]
A pointer to a variant
frgb [Result]
A pointer to a color to be filled. Must be allocated by the caller.
Availability
5.0.0.0
See Also
, , ,
Function Set
Defined in