World(ID)

base classes — bpy_struct, ID

class bpy.types.World(ID)

World data-block 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 data-block

Type:AnimData, (readonly)
color_range

The color range that will be mapped to 0-1

Type:float in [0.2, 5], default 0.0
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)
classmethod bl_rna_get_subclass(id, default=None)
Parameters:id (string) – The RNA type identifier.
Returns:The RNA type or default when not found.
Return type:bpy.types.Struct subclass
classmethod bl_rna_get_subclass_py(id, default=None)
Parameters:id (string) – The RNA type identifier.
Returns:The class or default when not found.
Return type:type

Inherited Properties

Inherited Functions

References