Blender V4.3
World Struct Reference

#include <DNA_world_types.h>

Public Attributes

ID id
 
struct AnimDataadt
 
DrawDataList drawdata
 
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 83 of file DNA_world_types.h.

◆ _pad0

char World::_pad0[4]

Definition at line 38 of file DNA_world_types.h.

◆ _pad1

void* World::_pad1

Definition at line 94 of file DNA_world_types.h.

◆ _pad2

char World::_pad2[6]

Definition at line 54 of file DNA_world_types.h.

◆ _pad3

char World::_pad3[2]

Definition at line 63 of file DNA_world_types.h.

◆ _pad4

char World::_pad4[4]

Definition at line 78 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 31 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 59 of file DNA_world_types.h.

Referenced by blo_do_versions_pre250().

◆ aoenergy

float World::aoenergy

Definition at line 59 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 81 of file DNA_world_types.h.

◆ drawdata

DrawDataList World::drawdata

Engines draw data, must be immediately after AnimData. See IdDdtTemplate and DRW_drawdatalist_from_id to understand this requirement.

Definition at line 36 of file DNA_world_types.h.

Referenced by world_copy_data().

◆ exp

float World::exp

Definition at line 47 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 47 of file DNA_world_types.h.

◆ flag

short World::flag

Assorted settings.

Definition at line 62 of file DNA_world_types.h.

Referenced by acf_dswor_setting_ptr().

◆ gpumaterial

ListBase World::gpumaterial

◆ horb

◆ horg

◆ horr

◆ id

◆ last_update

uint64_t World::last_update

Definition at line 99 of file DNA_world_types.h.

Referenced by world_blend_write().

◆ lightgroup

struct LightgroupMembership* World::lightgroup

Light-group membership information.

Definition at line 92 of file DNA_world_types.h.

Referenced by world_blend_read_data(), world_blend_write(), world_copy_data(), and world_free_data().

◆ misi

float World::misi

Definition at line 56 of file DNA_world_types.h.

◆ mistdist

float World::mistdist

Definition at line 56 of file DNA_world_types.h.

◆ misthi

float World::misthi

Definition at line 56 of file DNA_world_types.h.

◆ miststa

float World::miststa

Definition at line 56 of file DNA_world_types.h.

◆ mistype

short World::mistype

Definition at line 39 of file DNA_world_types.h.

◆ mode

short World::mode

Some world modes bit 0: Do mist

Definition at line 53 of file DNA_world_types.h.

◆ nodetree

◆ pr_texture

short World::pr_texture

Definition at line 82 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 69 of file DNA_world_types.h.

◆ range

float World::range

Definition at line 47 of file DNA_world_types.h.

Referenced by preview_sync_exposure().

◆ sun_angle

float World::sun_angle

Angle for sun extraction.

Definition at line 73 of file DNA_world_types.h.

◆ sun_shadow_filter_radius

float World::sun_shadow_filter_radius

Definition at line 77 of file DNA_world_types.h.

◆ sun_shadow_jitter_overblur

float World::sun_shadow_jitter_overblur

Definition at line 76 of file DNA_world_types.h.

◆ sun_shadow_maximum_resolution

float World::sun_shadow_maximum_resolution

Shadow properties for sun extraction.

Definition at line 75 of file DNA_world_types.h.

◆ sun_threshold

float World::sun_threshold

Threshold for sun extraction.

Definition at line 71 of file DNA_world_types.h.

◆ texact

short World::texact

Definition at line 39 of file DNA_world_types.h.

◆ use_nodes


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