Description
Parameter identifiers for the default texture map control. Used for the "which" argument of and .
enum fz_proj_tctl_parm_enum {
FZ_PROJ_RNDR_OPTS_TCTL_CENTER_HORIZ,
FZ_PROJ_RNDR_OPTS_TCTL_CENTER_VERT,
FZ_PROJ_RNDR_OPTS_TCTL_MIRROR_HORIZ,
FZ_PROJ_RNDR_OPTS_TCTL_MIRROR_VERT,
FZ_PROJ_RNDR_OPTS_TCTL_FLIP,
FZ_PROJ_RNDR_OPTS_TCTL_SOLID_SIZE,
FZ_PROJ_RNDR_OPTS_TCTL_MAP_TYPE,
FZ_PROJ_RNDR_OPTS_TCTL_ORIGIN,
FZ_PROJ_RNDR_OPTS_TCTL_ROTATION,
FZ_PROJ_RNDR_OPTS_TCTL_SIZE_X,
FZ_PROJ_RNDR_OPTS_TCTL_SIZE_Y,
FZ_PROJ_RNDR_OPTS_TCTL_PARM_USE,
FZ_PROJ_RNDR_OPTS_TCTL_PARM_CENTER_HORIZ,
FZ_PROJ_RNDR_OPTS_TCTL_PARM_CENTER_VERT,
FZ_PROJ_RNDR_OPTS_TCTL_PARM_MIRROR_HORIZ,
FZ_PROJ_RNDR_OPTS_TCTL_PARM_MIRROR_VERT,
FZ_PROJ_RNDR_OPTS_TCTL_PARM_SIZE_X,
FZ_PROJ_RNDR_OPTS_TCTL_PARM_SIZE_Y,
FZ_PROJ_RNDR_OPTS_TCTL_PARM_REPS_X,
FZ_PROJ_RNDR_OPTS_TCTL_PARM_REPS_Y,
FZ_PROJ_RNDR_OPTS_TCTL_SIZE_LOCK };
Members
FZ_PROJ_RNDR_OPTS_TCTL_CENTER_HORIZ
Center the horizontal tile
Type: fzrt_boolean
Default Value: FALSE
FZ_PROJ_RNDR_OPTS_TCTL_CENTER_VERT
Center the vertical tile
Type: fzrt_boolean
Default Value: FALSE
FZ_PROJ_RNDR_OPTS_TCTL_MIRROR_HORIZ
mirror the horizontal tile
Type: fzrt_boolean
Default Value: FALSE
FZ_PROJ_RNDR_OPTS_TCTL_MIRROR_VERT
Mirror the vertical tile
Type: fzrt_boolean
Default Value: FALSE
FZ_PROJ_RNDR_OPTS_TCTL_FLIP
Flip the horizontal and vertical direction of the texture
Type: fzrt_boolean
Default Value: FALSE
FZ_PROJ_RNDR_OPTS_TCTL_SOLID_SIZE
The size of a solid texture.
Type: double
Range: value > 0.0
Default Value: 1.0
FZ_PROJ_RNDR_OPTS_TCTL_MAP_TYPE
Mapping type. Certain restrictions apply when switching the mapping type of a texture map control. For more details see .
Type: fz_map_space_type_enum
Default Value: FZ_MAP_SPACE_CUBIC
FZ_PROJ_RNDR_OPTS_TCTL_ORIGIN
The origin of the texture map control
Type: fz_xyz_td
Range: 0.0 <= value <= 1.0 if the the mapping type is FZ_MAP_SPACE_PARAMETRIC (only x and y are used). FZ_MAP_SPACE_UV_CORDS does not have an origin parameter. For all other mapping types, the origin parameter specifies a 3D location.
Default Value: {0.0,0.0,0.0}
FZ_PROJ_RNDR_OPTS_TCTL_ROTATION
The rotation of the texture map control in 3d space. The angles are applied in z y x order. FZ_MAP_SPACE_UV_CORDS and FZ_MAP_SPACE_PARAMETRIC do not have a rotation parameter.
Type: fz_xyz_td
Default Value: {0.0,0.0,0.0}
FZ_PROJ_RNDR_OPTS_TCTL_SIZE_X
The horizontal size of a texture tile. For FZ_MAP_SPACE_PARAMETRIC the tile size is a factor of the length/depth of the parametric surface. At a factor of 1.0 the texture occupies the surface with one tile. For FZ_MAP_SPACE_UV_CORDS mapping, the tile size is a factor of the texture size, when FZ_MAP_SPACE_UV_CORDS was first assigned. For FZ_MAP_SPACE_FLAT, FZ_MAP_SPACE_CUBIC and the vertical size of FZ_MAP_SPACE_CYLINDER mapping, the tile size is a linear dimension, which must be greater than 0.0. For the horizontal size of FZ_MAP_SPACE_CYLINDER and for FZ_MAP_SPACE_SPHERE the tile size is an angular dimension in the range 0.0 < val < 2PI. The FZ_PROJ_RNDR_OPTS_TCTL_SIZE_X/Y and FZ_PROJ_RNDR_OPTS_TCTL_REPS_X/Y parameters are interdependent. When changing one, the other parameter will automatically be updated.
Type: double
Range: value > 0.0
Default Value: 10
FZ_PROJ_RNDR_OPTS_TCTL_SIZE_Y
The vertical size of a texture tile.
Type: double
Range: value > 0.0
Default Value: 10
FZ_PROJ_RNDR_OPTS_TCTL_PARM_USE
Parametric mapping for parametrics On/Off
Type: fzrt_boolean
Default Value: FALSE
FZ_PROJ_RNDR_OPTS_TCTL_PARM_CENTER_HORIZ
Center the horizontal tile
Default Value: FALSE
FZ_PROJ_RNDR_OPTS_TCTL_PARM_CENTER_VERT
Center the vertical tile
Default Value: FALSE
FZ_PROJ_RNDR_OPTS_TCTL_PARM_MIRROR_HORIZ
mirror the horizontal tile
Default Value: FALSE
FZ_PROJ_RNDR_OPTS_TCTL_PARM_MIRROR_VERT
Mirror the vertical tile
Default Value: FALSE
FZ_PROJ_RNDR_OPTS_TCTL_PARM_SIZE_X
The horizontal size of a texture tile. For FZ_MAP_SPACE_PARAMETRIC the tile size is a factor of the length/depth of the parametric surface. At a factor of 1.0 the texture occupies the surface with one tile. For FZ_MAP_SPACE_UV_CORDS mapping, the tile size is a factor of the texture size, when FZ_MAP_SPACE_UV_CORDS was first assigned. For FZ_MAP_SPACE_FLAT, FZ_MAP_SPACE_CUBIC and the vertical size of FZ_MAP_SPACE_CYLINDER mapping, the tile size is a linear dimension, which must be greater than 0.0. For the horizontal size of FZ_MAP_SPACE_CYLINDER and for FZ_MAP_SPACE_SPHERE the tile size is an angular dimension in the range 0.0 < val < 2PI. The FZ_PROJ_RNDR_OPTS_TCTL_SIZE_X/Y and FZ_PROJ_RNDR_OPTS_TCTL_REPS_X/Y parameters are interdependent. When changing one, the other parameter will automatically be updated.
Type: double
Range: value > 0.0
Default Value: 10
FZ_PROJ_RNDR_OPTS_TCTL_PARM_SIZE_Y
The vertical size of a texture tile.
Type: double
Range: value > 0.0
Default Value: 10
FZ_PROJ_RNDR_OPTS_TCTL_PARM_REPS_X
The # of horizontal repetitions of a texture tile. For FZ_MAP_SPACE_CUBIC and FZ_MAP_SPACE_UV_CORDS this parameter does not apply. The MODEL_ATTR_TCTL_REPS and MODEL_ATTR_TCTL_SIZE parameters are interdependent. When changing one, the other parameter will automatically be updated.
Type: double
Range: value > 0.0
Default Value: 10
FZ_PROJ_RNDR_OPTS_TCTL_PARM_REPS_Y
The # of vertical repetitions of a texture tile.
Type: double
Range: value > 0.0
Default Value: 10
FZ_PROJ_RNDR_OPTS_TCTL_SIZE_LOCK
The size lock option. Only, None, Square and Current are avialbale.
Type: fz_map_space_size_lock_enum
Default Value: FZ_MAP_SPACE_SIZE_LOCK_SQUARE
Availability
5.0.0.0
Example Files
See Also
,,
Defined in