Blender V5.0
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
short flag
float misi
float miststa
float mistdist
float misthi
float aodist
float aoenergy
int probe_resolution
float sun_threshold
float sun_angle
float sun_shadow_maximum_resolution
float sun_shadow_jitter_overblur
float sun_shadow_filter_radius
short pr_texture
short use_nodes DNA_DEPRECATED
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 25 of file DNA_world_types.h.

Member Data Documentation

◆ _pad0

char World::_pad0[4]

Definition at line 36 of file DNA_world_types.h.

◆ _pad1

void* World::_pad1

Definition at line 87 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 34 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

short use_nodes World::DNA_DEPRECATED

Definition at line 76 of file DNA_world_types.h.

◆ exp

float World::exp

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

◆ flag

short World::flag

Assorted settings.

Definition at line 54 of file DNA_world_types.h.

Referenced by acf_dswor_setting_ptr().

◆ gpumaterial

◆ horb

float World::horb

Definition at line 39 of file DNA_world_types.h.

Referenced by do_version_world_remove_use_nodes().

◆ horg

float World::horg

Definition at line 39 of file DNA_world_types.h.

Referenced by do_version_world_remove_use_nodes().

◆ horr

◆ id

◆ last_update

uint64_t World::last_update

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

◆ mode

short World::mode

Some world modes bit 0: Do mist

Definition at line 51 of file DNA_world_types.h.

◆ nodetree

◆ pr_texture

short World::pr_texture

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

◆ range

float World::range

Definition at line 45 of file DNA_world_types.h.

Referenced by preview_sync_exposure().

◆ sun_angle

float World::sun_angle

Angle for sun extraction.

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

◆ sun_shadow_maximum_resolution

float World::sun_shadow_maximum_resolution

Shadow properties for sun extraction.

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

Referenced by blo_do_versions_420().

◆ texact

short World::texact

Definition at line 37 of file DNA_world_types.h.


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