World(ID)

base classes — bpy_struct, ID

class bpy.types.World(ID)

World data-block describing the environment and ambient lighting of a scene

animation_data

Animation data for this data-block

Type

AnimData, (readonly)

color

Color of the background

Type

float array of 3 items in [0, inf], default (0.05, 0.05, 0.05)

cycles

Cycles world settings

Type

CyclesWorldSettings, (readonly)

cycles_visibility

Cycles visibility settings

Type

CyclesVisibilitySettings, (readonly)

light_settings

World lighting settings

Type

WorldLighting, (readonly, never None)

lightgroup

Lightgroup that the world belongs to

Type

string, default “”, (never None)

mist_settings

World mist settings

Type

WorldMistSettings, (readonly, never None)

node_tree

Node tree for node based worlds

Type

NodeTree, (readonly)

use_nodes

Use shader nodes to render the world

Type

boolean, default False

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