formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Sphere

fz_objt_sphr_parm_enum

Description

Parameter identifiers for a parametric sphere object. Used for the "which" argument of ,, fz_objt_edit_sphr_parm_get,

enum fz_objt_sphr_parm_enum {

FZ_OBJT_SPHR_PARM_PARTIAL,

FZ_OBJT_SPHR_PARM_CAP_TYPE,

FZ_OBJT_SPHR_PARM_U_MINMAX,

FZ_OBJT_SPHR_PARM_V_MINMAX,

FZ_OBJT_SPHR_PARM_RADII,

FZ_OBJT_SPHR_PARM_ORIGIN,

FZ_OBJT_SPHR_PARM_ROTATION };

Members

FZ_OBJT_SPHR_PARM_PARTIAL

Construction and Editing - Sphere partial on (TRUE) or off (FALSE).

Type: fzrt_boolean

Default Value: FALSE

FZ_OBJT_SPHR_PARM_CAP_TYPE

Construction and Editing - Sphere closure type. ptype fz_objt_prim_cap_type_enum

Default Value: FZ_OBJT_PRIM_CAP_TYPE_AXIAL

FZ_OBJT_SPHR_PARM_U_MINMAX

Construction and Editing - Sphere horizontal min max. The x value indicates the start of the sphere surface in the horizontal direction (along the sphere's equator). The y value indicates the end. x must be less than y. For example, x = 0.0, y = 0.5 defines a half sphere, starting at the sphere's local positive x axis, going counterclockwise, ending at the negative x axis.

Type: fz_xy_td

Range: 0.0 <= value <= 1.0

Default Value: {0.0,1.0}

FZ_OBJT_SPHR_PARM_V_MINMAX

Construction and Editing - Sphere vertical min max. The x value indicates the start of the sphere surface in the vertical direction (along the sphere's north south direction). The y value indicates the end. x must be less than y. x = 0.0 means that the sphere starts at the south pole. For example, x = 0.5, y = 1.0 defines the northern hemisphere.

Type: fz_xy_td

Range: 0.0 <= value <= 1.0

Default Value: {0.5,1.0}

FZ_OBJT_SPHR_PARM_RADII

Editing - Sphere radii.

Type: fz_xyz_td

Range: value > 0.0

FZ_OBJT_SPHR_PARM_ORIGIN

Editing - Sphere origin.

Type: fz_xyz_td

FZ_OBJT_SPHR_PARM_ROTATION

Editing - Sphere rotation. Rotation angles are applied in z y x order to transform the sphere from alignment with the world axes to its 3d orientation.

Type: fz_xyz_td

Availability

5.0.0.0

See Also

,

Defined in

fz_objt_prim_api.h