formZ SDK | 5.0 API Reference | Project | Modeling | Attributes

# fz_attr_sshd_parm_enum

Description

smooth shading parameter ids. Used to set/get the parameters of a smooth shading attribute using and fz_objt_attr_sshd_set

enum fz_attr_sshd_parm_enum {

FZ_ATTR_SSHD_PARM_SMOOTH_ON,

FZ_ATTR_SSHD_PARM_SMOOTH_ALL,

FZ_ATTR_SSHD_PARM_SMOOTH_FACES_BY_ANGLE,

FZ_ATTR_SSHD_PARM_SMOOTH_FACES_BY_MARK,

FZ_ATTR_SSHD_PARM_SMOOTH_FACES_BY_NSIDES,

FZ_ATTR_SSHD_PARM_ANGLE,

FZ_ATTR_SSHD_PARM_NSIDES_MIN,

FZ_ATTR_SSHD_PARM_NSIDES_MAX,

FZ_ATTR_SSHD_PARM_SMOOTH_OBJS };

Members

FZ_ATTR_SSHD_PARM_SMOOTH_ON

smooth shading is on

Type: fzrt_boolean

Default Value: FALSE

FZ_ATTR_SSHD_PARM_SMOOTH_ALL

smooth all

Type: fzrt_boolean

Default Value: TRUE

FZ_ATTR_SSHD_PARM_SMOOTH_FACES_BY_ANGLE

if smooth all if off, smooth by face angle

Type: fzrt_boolean

Default Value: TRUE

FZ_ATTR_SSHD_PARM_SMOOTH_FACES_BY_MARK

if smooth all if off, smooth faces marked as smooth

Type: fzrt_boolean

Default Value: FALSE

FZ_ATTR_SSHD_PARM_SMOOTH_FACES_BY_NSIDES

if smooth all if off, smooth faces with m to n sides

Type: fzrt_boolean

Default Value: FALSE

FZ_ATTR_SSHD_PARM_ANGLE

smoothing angle if FZ_ATTR_SSHD_PARM_SMOOTH_FACES_BY_ANGLE is used

Type: double

Default Value: 140 degrees (as radians)

Range: 0.0 < value < PI

FZ_ATTR_SSHD_PARM_NSIDES_MIN

minimum number of sides per face, if FZ_ATTR_SSHD_PARM_SMOOTH_FACES_BY_NSIDES is used

Type: fzrt_int

Default Value: 4

Range: value >= 3

FZ_ATTR_SSHD_PARM_NSIDES_MAX

maximum number of sides per face, if FZ_ATTR_SSHD_PARM_SMOOTH_FACES_BY_NSIDES is used

Type: fzrt_int

Default Value: 4

Range: value >= 3

FZ_ATTR_SSHD_PARM_SMOOTH_OBJS

render smooth object smooth

Type: fzrt_boolean

Default Value: TRUE

Availability

5.0.0.0

See Also

, fz_objt_attr_sshd_set

Defined in

fz_objt_attr_api.h