Blender V5.3
blender::World Struct Reference

#include <DNA_world_types.h>

Public Attributes

ID id
struct AnimData * adt = nullptr
char _pad0 [4] = {}
short texact = 0
eWorld_MistType mistype = WO_MIST_QUADRATIC
float horr = 0.05f
float horg = 0.05f
float horb = 0.05f
float exposure = 0
float exp = 0
float range = 0
eWorld_Mode mode = {}
eWorld_Flag flag = WO_USE_SUN_SHADOW
float misi = 0
float miststa = 5.0f
float mistdist = 25.0f
float misthi = 0
float aodist = 10.0f
float aoenergy = 1.0f
eLightProbeResolution probe_resolution = LIGHT_PROBE_RESOLUTION_1024
float sun_threshold = 10.0f
float sun_angle = DEG2RADF(0.526f)
float sun_shadow_maximum_resolution = 0.001f
float sun_shadow_jitter_overblur = 10.0f
float sun_shadow_filter_radius = 1.0f
short pr_texture = 0
DNA_DEPRECATED short use_nodes = 0
struct PreviewImage * preview = nullptr
struct bNodeTree * nodetree = nullptr
struct LightgroupMembership * lightgroup = nullptr
void * _pad1 = nullptr
ListBaseT< LinkData > gpumaterial = {nullptr, nullptr}
uint64_t last_update = 0

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 81 of file DNA_world_types.h.

Member Data Documentation

◆ _pad0

char blender::World::_pad0[4] = {}

Definition at line 92 of file DNA_world_types.h.

◆ _pad1

void* blender::World::_pad1 = nullptr

Definition at line 144 of file DNA_world_types.h.

◆ adt

struct AnimData* blender::World::adt = nullptr

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

Definition at line 90 of file DNA_world_types.h.

◆ aodist

float blender::World::aodist = 10.0f

Ambient occlusion.

Definition at line 116 of file DNA_world_types.h.

◆ aoenergy

float blender::World::aoenergy = 1.0f

Definition at line 116 of file DNA_world_types.h.

◆ exp

float blender::World::exp = 0

Definition at line 102 of file DNA_world_types.h.

◆ exposure

float blender::World::exposure = 0

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

Definition at line 102 of file DNA_world_types.h.

◆ flag

eWorld_Flag blender::World::flag = WO_USE_SUN_SHADOW

Assorted settings.

Definition at line 111 of file DNA_world_types.h.

◆ gpumaterial

ListBaseT<LinkData> blender::World::gpumaterial = {nullptr, nullptr}

Runtime.

Definition at line 147 of file DNA_world_types.h.

◆ horb

float blender::World::horb = 0.05f

Definition at line 96 of file DNA_world_types.h.

◆ horg

float blender::World::horg = 0.05f

Definition at line 96 of file DNA_world_types.h.

◆ horr

float blender::World::horr = 0.05f

Definition at line 96 of file DNA_world_types.h.

◆ id

ID blender::World::id

Definition at line 88 of file DNA_world_types.h.

◆ last_update

uint64_t blender::World::last_update = 0

Definition at line 149 of file DNA_world_types.h.

◆ lightgroup

struct LightgroupMembership* blender::World::lightgroup = nullptr

Light-group membership information.

Definition at line 142 of file DNA_world_types.h.

◆ misi

float blender::World::misi = 0

Definition at line 113 of file DNA_world_types.h.

◆ mistdist

float blender::World::mistdist = 25.0f

Definition at line 113 of file DNA_world_types.h.

◆ misthi

float blender::World::misthi = 0

Definition at line 113 of file DNA_world_types.h.

◆ miststa

float blender::World::miststa = 5.0f

Definition at line 113 of file DNA_world_types.h.

◆ mistype

eWorld_MistType blender::World::mistype = WO_MIST_QUADRATIC

Definition at line 94 of file DNA_world_types.h.

◆ mode

eWorld_Mode blender::World::mode = {}

Some world modes bit 0: Do mist

Definition at line 108 of file DNA_world_types.h.

◆ nodetree

struct bNodeTree* blender::World::nodetree = nullptr

Definition at line 139 of file DNA_world_types.h.

◆ pr_texture

short blender::World::pr_texture = 0

Definition at line 130 of file DNA_world_types.h.

◆ preview

struct PreviewImage* blender::World::preview = nullptr

Definition at line 134 of file DNA_world_types.h.

◆ probe_resolution

eLightProbeResolution blender::World::probe_resolution = LIGHT_PROBE_RESOLUTION_1024

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

Definition at line 120 of file DNA_world_types.h.

◆ range

float blender::World::range = 0

Definition at line 102 of file DNA_world_types.h.

◆ sun_angle

float blender::World::sun_angle = DEG2RADF(0.526f)

Angle for sun extraction.

Definition at line 124 of file DNA_world_types.h.

◆ sun_shadow_filter_radius

float blender::World::sun_shadow_filter_radius = 1.0f

Definition at line 128 of file DNA_world_types.h.

◆ sun_shadow_jitter_overblur

float blender::World::sun_shadow_jitter_overblur = 10.0f

Definition at line 127 of file DNA_world_types.h.

◆ sun_shadow_maximum_resolution

float blender::World::sun_shadow_maximum_resolution = 0.001f

Shadow properties for sun extraction.

Definition at line 126 of file DNA_world_types.h.

◆ sun_threshold

float blender::World::sun_threshold = 10.0f

Threshold for sun extraction.

Definition at line 122 of file DNA_world_types.h.

◆ texact

short blender::World::texact = 0

Definition at line 93 of file DNA_world_types.h.

◆ use_nodes

DNA_DEPRECATED short blender::World::use_nodes = 0

Definition at line 131 of file DNA_world_types.h.


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