formZ SDK | 5.0 API Reference | Project | Modeling | Lights Manager

# fz_lite_parm_cust_data_enum

Description

Parameter identifiers for a custom light data. Used for the "which" argument of and .

enum fz_lite_parm_cust_data_enum {

FZ_LITE_PARM_CUSTOM_DATA_SYMMETRY,

FZ_LITE_PARM_CUSTOM_DATA_HEMISPHERE,

FZ_LITE_PARM_CUSTOM_DATA_NUMVERT,

FZ_LITE_PARM_CUSTOM_DATA_NUMHORIZ,

FZ_LITE_PARM_CUSTOM_DATA_VERTANG,

FZ_LITE_PARM_CUSTOM_DATA_HORIZANG,

FZ_LITE_PARM_CUSTOM_DATA_VALUES };

Members

FZ_LITE_PARM_CUSTOM_DATA_SYMMETRY

Custom light data, distribution symmetry.

Type: fz_lite_parm_cust_data_symmetry_enum

Default Value: FZ_LITE_PARM_CUSTOM_DATA_SYMMETRY_AXIAL

FZ_LITE_PARM_CUSTOM_DATA_HEMISPHERE

Custom light data, distribution hemisphere.

Type: fz_lite_parm_cust_data_hemi_enum

Default Value: FZ_LITE_PARM_CUSTOM_DATA_HEMI_BOTH

FZ_LITE_PARM_CUSTOM_DATA_NUMVERT

Custom light data, number of vertical angles.

Type: fzrt_int

Default Value: 2

Range: value >= 2

FZ_LITE_PARM_CUSTOM_DATA_NUMHORIZ

Custom light data, number of horizontal distribution curves.

Type: fzrt_int

Default Value: 1

Range: value >= 1

FZ_LITE_PARM_CUSTOM_DATA_VERTANG

Custom light data, array of verical angles. The angles must be in ascending order an be in the range of 0.0 <= angle <= PI.

Type: double *

Default Value: { 0.0, PI }

Range: 0.0 <= value <= PI

FZ_LITE_PARM_CUSTOM_DATA_HORIZANG

Custom light data, array of horizontal angles. The angles must be in ascending order an be in the range of 0.0 <= angle <= 2PI.

Type: double *

Default Value: { 0.0 }

Range: 0.0 <= value <= 2PI

FZ_LITE_PARM_CUSTOM_DATA_VALUES

Custom light data, array of intensity values. There are FZ_LITE_PARM_CUSTOM_DATA_NUMVERT * FZ_LITE_PARM_CUSTOM_DATA_NUMHORIZ values in the array and the values are ordered in vertical major order:
values[0] = value at vertical angle 0 , horizontal angle 0
values[1] = value at vertical angle 1 , horizontal angle 0
values[2] = value at vertical angle 2 , horizontal angle 0
.
.
.
values[numvert-1] = value at vertical angle numvert-1 , horizontal angle 0
values[numvert * 1 + 0] = value at vertical angle 0 , horizontal angle 1
values[numvert * 1 + 1] = value at vertical angle 1 , horizontal angle 1
values[numvert * 1 + 2] = value at vertical angle 2 , horizontal angle 1
.
.
.
values[numvert * 1 + numvert-1] = value at vertical angle numvert-1 , horizontal angle 1
values[numvert * 2 + 0] = value at vertical angle 0 , horizontal angle 2
values[numvert * 2 + 1] = value at vertical angle 1 , horizontal angle 2
values[numvert * 2 + 2] = value at vertical angle 2 , horizontal angle 2
.
.
.
values[numvert * 2 + numvert-1] = value at vertical angle numvert-1 , horizontal angle 2
values[numvert * (numhorz-1) + 0] = value at vertical angle 0 , horizontal angle numhorz-1
values[numvert * (numhorz-1) + 1] = value at vertical angle 1 , horizontal angle numhorz-1
values[numvert * (numhorz-1) + 2] = value at vertical angle 2 , horizontal angle numhorz-1
.
.
.
values[numvert * (numhorz-1) + numvert-1] = value at vertical angle numvert-1 , horizontal angle numhorz-1

Type: double *

Default Value: { 0.0, 1.0 }

Range: value >= 0.0

Availability

5.0.0.0

See Also

Defined in

fz_lite_api.h