Blender V4.5
World Struct Reference

#include <DNA_world_types.h>

Public Attributes

ID id
 
struct AnimDataadt
 
char _pad0 [4]
 
short texact
 
short mistype
 
float horr
 
float horg
 
float horb
 
float exposure
 
float exp
 
float range
 
short mode
 
char _pad2 [6]
 
float misi
 
float miststa
 
float mistdist
 
float misthi
 
float aodist
 
float aoenergy
 
short flag
 
char _pad3 [2]
 
int probe_resolution
 
float sun_threshold
 
float sun_angle
 
float sun_shadow_maximum_resolution
 
float sun_shadow_jitter_overblur
 
float sun_shadow_filter_radius
 
char _pad4 [4]
 
struct Ipo *ipo DNA_DEPRECATED
 
short pr_texture
 
short use_nodes
 
char _pad [4]
 
struct PreviewImagepreview
 
struct bNodeTreenodetree
 
struct LightgroupMembershiplightgroup
 
void * _pad1
 
ListBase gpumaterial
 
uint64_t last_update
 

Detailed Description

World defines general modeling data such as a background fill, gravity, color model etc. It mixes rendering data and modeling data.

Definition at line 26 of file DNA_world_types.h.

Member Data Documentation

◆ _pad

char World::_pad[4]

Definition at line 82 of file DNA_world_types.h.

◆ _pad0

char World::_pad0[4]

Definition at line 37 of file DNA_world_types.h.

◆ _pad1

void* World::_pad1

Definition at line 93 of file DNA_world_types.h.

◆ _pad2

char World::_pad2[6]

Definition at line 53 of file DNA_world_types.h.

◆ _pad3

char World::_pad3[2]

Definition at line 62 of file DNA_world_types.h.

◆ _pad4

char World::_pad4[4]

Definition at line 77 of file DNA_world_types.h.

◆ adt

struct AnimData* World::adt

Animation data (must be immediately after id for utilities to use it).

Definition at line 35 of file DNA_world_types.h.

Referenced by acf_dswor_setting_ptr(), and make_new_animlistelem().

◆ aodist

float World::aodist

Ambient occlusion.

Definition at line 58 of file DNA_world_types.h.

Referenced by blo_do_versions_pre250().

◆ aoenergy

float World::aoenergy

Definition at line 58 of file DNA_world_types.h.

Referenced by blo_do_versions_pre250().

◆ DNA_DEPRECATED

struct Ipo* ipo World::DNA_DEPRECATED

Old animation system, deprecated for 2.5.

Definition at line 80 of file DNA_world_types.h.

◆ exp

float World::exp

Definition at line 46 of file DNA_world_types.h.

Referenced by preview_sync_exposure().

◆ exposure

float World::exposure

Exposure is a multiplication factor. Unused now, but maybe back later. Kept in to be upward compatible.

Definition at line 46 of file DNA_world_types.h.

◆ flag

short World::flag

◆ gpumaterial

◆ horb

◆ horg

◆ horr

◆ id

◆ last_update

uint64_t World::last_update

Definition at line 98 of file DNA_world_types.h.

Referenced by BKE_world_eval(), and world_blend_write().

◆ lightgroup

struct LightgroupMembership* World::lightgroup

◆ misi

float World::misi

Definition at line 55 of file DNA_world_types.h.

◆ mistdist

float World::mistdist

Definition at line 55 of file DNA_world_types.h.

◆ misthi

float World::misthi

Definition at line 55 of file DNA_world_types.h.

◆ miststa

float World::miststa

Definition at line 55 of file DNA_world_types.h.

◆ mistype

short World::mistype

Definition at line 38 of file DNA_world_types.h.

◆ mode

short World::mode

Some world modes bit 0: Do mist

Definition at line 52 of file DNA_world_types.h.

◆ nodetree

◆ pr_texture

short World::pr_texture

Definition at line 81 of file DNA_world_types.h.

◆ preview

struct PreviewImage* World::preview

◆ probe_resolution

int World::probe_resolution

Eevee settings. Resolution of the world probe when baked to a texture. Contains eLightProbeResolution.

Definition at line 68 of file DNA_world_types.h.

Referenced by blo_do_versions_400(), and blender::eevee::LightProbeModule::sync_world().

◆ range

float World::range

Definition at line 46 of file DNA_world_types.h.

Referenced by preview_sync_exposure().

◆ sun_angle

float World::sun_angle

Angle for sun extraction.

Definition at line 72 of file DNA_world_types.h.

Referenced by blo_do_versions_420().

◆ sun_shadow_filter_radius

float World::sun_shadow_filter_radius

Definition at line 76 of file DNA_world_types.h.

Referenced by blo_do_versions_420().

◆ sun_shadow_jitter_overblur

float World::sun_shadow_jitter_overblur

Definition at line 75 of file DNA_world_types.h.

◆ sun_shadow_maximum_resolution

float World::sun_shadow_maximum_resolution

Shadow properties for sun extraction.

Definition at line 74 of file DNA_world_types.h.

Referenced by blo_do_versions_420().

◆ sun_threshold

float World::sun_threshold

Threshold for sun extraction.

Definition at line 70 of file DNA_world_types.h.

Referenced by blo_do_versions_420().

◆ texact

short World::texact

Definition at line 38 of file DNA_world_types.h.

◆ use_nodes


The documentation for this struct was generated from the following file: