World(ID)

base classes — bpy_struct, ID

class bpy.types.World(ID)

World datablock describing the environment and ambient lighting of a scene

active_texture

Active texture slot being displayed

Type:Texture
active_texture_index

Index of active texture slot

Type:int in [0, 17], default 0
ambient_color

Ambient color of the world

Type:float array of 3 items in [0, inf], default (0.0, 0.0, 0.0)
animation_data

Animation data for this datablock

Type:AnimData, (readonly)
color_range

The color range that will be mapped to 0-1

Type:float in [0.2, 5], default 0.0
cycles

Cycles world settings

Type:CyclesWorldSettings, (readonly)
cycles_visibility

Cycles visibility settings

Type:CyclesVisibilitySettings, (readonly)
exposure

Amount of exponential color correction for light

Type:float in [0, 1], default 0.0
horizon_color

Color at the horizon

Type:float array of 3 items in [0, inf], default (0.0, 0.0, 0.0)
light_settings

World lighting settings

Type:WorldLighting, (readonly, never None)
mist_settings

World mist settings

Type:WorldMistSettings, (readonly, never None)
node_tree

Node tree for node based worlds

Type:NodeTree, (readonly)
texture_slots

Texture slots defining the mapping and influence of textures

Type:WorldTextureSlots bpy_prop_collection of WorldTextureSlot, (readonly)
use_nodes

Use shader nodes to render the world

Type:boolean, default False
use_sky_blend

Render background with natural progression from horizon to zenith

Type:boolean, default False
use_sky_paper

Flatten blend or texture coordinates

Type:boolean, default False
use_sky_real

Render background with a real horizon, relative to the camera angle

Type:boolean, default False
zenith_color

Color at the zenith

Type:float array of 3 items in [0, inf], default (0.0, 0.0, 0.0)

Inherited Properties

Inherited Functions

References

Previous topic

WoodTexture(Texture)

Next topic

WorldLighting(bpy_struct)