Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_camera_types.h
| Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | typedef struct CameraBGImage { | ||||
| short flag; | short flag; | ||||
| short source; | short source; | ||||
| } CameraBGImage; | } CameraBGImage; | ||||
| /** Properties for dof effect. */ | /** Properties for dof effect. */ | ||||
| typedef struct CameraDOFSettings { | typedef struct CameraDOFSettings { | ||||
| /** Focal distance for depth of field. */ | /** Focal distance for depth of field. */ | ||||
| struct Object *focus_object; | struct Object *focus_object; | ||||
| char focus_subtarget[64]; | |||||
| float focus_distance; | float focus_distance; | ||||
| float aperture_fstop; | float aperture_fstop; | ||||
| float aperture_rotation; | float aperture_rotation; | ||||
| float aperture_ratio; | float aperture_ratio; | ||||
| int aperture_blades; | int aperture_blades; | ||||
| short flag; | short flag; | ||||
| char _pad[2]; | char _pad[2]; | ||||
| } CameraDOFSettings; | } CameraDOFSettings; | ||||
| typedef struct Camera_Runtime { | typedef struct Camera_Runtime { | ||||
| /* For draw manager. */ | /* For draw manager. */ | ||||
| float drw_corners[2][4][2]; | float drw_corners[2][4][2]; | ||||
| float drw_tria[2][2]; | float drw_tria[2][2]; | ||||
| float drw_depth[2]; | float drw_depth[2]; | ||||
| float drw_focusmat[4][4]; | float drw_focusmat[4][4]; | ||||
| float drw_normalmat[4][4]; | float drw_normalmat[4][4]; | ||||
| } Camera_Runtime; | } Camera_Runtime; | ||||
campbellbarton: Anything against the name `focus_subtarget`? matching constraints, allowing for non-bone sub… | |||||
| typedef struct Camera { | typedef struct Camera { | ||||
| ID id; | ID id; | ||||
| /** Animation data (must be immediately after id for utilities to use it). */ | /** Animation data (must be immediately after id for utilities to use it). */ | ||||
| struct AnimData *adt; | struct AnimData *adt; | ||||
| /** CAM_PERSP, CAM_ORTHO or CAM_PANO. */ | /** CAM_PERSP, CAM_ORTHO or CAM_PANO. */ | ||||
| char type; | char type; | ||||
| ▲ Show 20 Lines • Show All 135 Lines • Show Last 20 Lines | |||||
Anything against the name focus_subtarget? matching constraints, allowing for non-bone sub-targets in the future.