user: How do I use Bpy.Types.Viewlayer in Blender? Include parameters, examples, warnings and best practices.

assistant: se use_pass_subsurface_indirect ¶ Deliver subsurface indirect pass Type : boolean, default False use_pass_transmission_color ¶ Deliver transmission color pass Type : boolean, default False use_pass_transmission_direct ¶ Deliver transmission direct pass Type : boolean, default False use_pass_transmission_indirect ¶ Deliver transmission indirect pass Type : boolean, default False use_pass_uv ¶ Deliver texture UV pass Type : boolean, default False use_pass_vector ¶ Deliver speed vector pass Type : boolean, default False use_pass_z ¶ Deliver depth values pass Type : boolean, default False use_sky ¶ Render Sky in this Layer Type : boolean, default True use_solid ¶ Render Solid faces in this Layer Type : boolean, default True use_strand ¶ Render Strands in this Layer Type : boolean, default True use_volumes ¶ Render volumes in this Layer Type : boolean, default True world_override ¶ Override world in this view layer Type : World bl_system_properties_get ( * , do_create = False ) ¶ DEBUG ONLY. Internal access to runtime-defined RNA data storage, intended solely for testing and debugging purposes. Do not access it in regular scripting work, and in particular, do not assume that it contains writable data Parameters : do_create ( boolean , ( optional ) ) – Ensure that system properties are created if they do not exist yet Returns : The system properties root container, or None if there are no system properties stored in this data yet, and its creation was not requested Return type : PropertyGroup classmethod update_render_passes ( ) ¶ Requery the enabled render passes from the render engine update ( ) ¶ Update data tagged to be updated from previous access to data or operators classmethod bl_rna_get_subclass ( id , default = None , / ) ¶ Parameters : id ( str ) – 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 ( str ) – The RNA type identifier. Returns : The class or default when not found. Return type : type Inherited Properties ¶ bpy_struct.id_data Inherited Functions ¶ bpy_struct.as_pointer bpy_struct.driver_add bpy_struct.driver_remove bpy_struct.get bpy_struct.id_properties_clear bpy_struct.id_properties_ensure bpy_struct.id_properties_ui bpy_struct.is_property_hidden bpy_struct.is_property_overridable_library bpy_struct.is_property_readonly bpy_struct.is_property_set bpy_struct.items bpy_struct.keyframe_delete bpy_struct.keyframe_insert bpy_struct.keys bpy_struct.path_from_id bpy_struct.path_from_module bpy_struct.path_resolve bpy_struct.pop bpy_struct.property_overridable_library_set bpy_struct.property_unset bpy_struct.rna_ancestors bpy_struct.type_recast bpy_struct.values References ¶ bpy.context.view_layer Context.view_layer Depsgraph.view_layer Depsgraph.view_layer_eval ID.override_hierarchy_create IDOverrideLibrary.resync LayerCollection.has_selected_objects Object.hide_get Object.hide_set Object.holdout_get Object.indirect_only_get Object.select_get Object.select_set Object.visible_get RenderEngine.register_pass RenderEngine.update_render_passes Scene.statistics Scene.view_layers ViewLayers.new ViewLayers.remove Window.view_layer Next ViewLayerEEVEE(bpy_struct) Previous View3DShading(bpy_struct) Copyright &#169; Blender Authors Made with Furo Report issue on this page On this page ViewLayer(bpy_struct) ViewLayer ViewLayer.active_aov ViewLayer.active_aov_index ViewLayer.active_layer_collection ViewLayer.active_lightgroup ViewLayer.active_lightgroup_index ViewLayer.aovs ViewLayer.cycles ViewLayer.depsgraph ViewLayer.eevee ViewLayer.freestyle_settings ViewLayer.has_export_collections ViewLayer.layer_collection ViewLayer.lightgroups ViewLayer.material_override ViewLayer.name ViewLayer.objects ViewLayer.pass_alpha_threshold ViewLayer.pass_cryptomatte_depth ViewLayer.samples ViewLayer.use ViewLayer.use_ao ViewLayer.use_freestyle ViewLayer.use_grease_pencil ViewLayer.use_motion_blur ViewLayer.use_pass_ambient_occlusion ViewLayer.use_pass_combined ViewLayer.use_pass_cryptomatte_accurate ViewLayer.use_pass_cryptomatte_asset ViewLayer.use_pass_cryptomatte_material ViewLayer.use_pass_cryptomatte_object ViewLayer.use_pass_diffuse_color ViewLayer.use_pass_diffuse_direct ViewLayer.use_pass_diffuse_indirect ViewLayer.use_pass_emit ViewLayer.use_pass_environment ViewLayer.use_pass_glossy_color ViewLayer.use_pass_glossy_direct ViewLayer.use_pass_glossy_indirect ViewLayer.use_pass_grease_pencil ViewLayer.use_pass_material_index ViewLayer.use_pass_mist ViewLayer.use_pass_normal ViewLayer.use_pass_object_index ViewLayer.use_pass_position ViewLayer.use_pass_shadow ViewLayer.use_pass_subsurface_color ViewLayer.use_pass_subsurface_direct ViewLayer.use_pass_subsurface_indirect ViewLayer.use_pass_transmission_color ViewLayer.use_pass_transmission_direct ViewLayer.use_pass_transmission_indirect ViewLayer.use_pass_uv ViewLayer.use_pass_vector ViewLayer.use_pass_z ViewLayer.use_sky ViewLayer.use_solid ViewLayer.use_strand ViewLayer.use_volumes ViewLayer.world_override ViewLayer.bl_system_properties_get() ViewLayer.update_render_passes() ViewLayer.update() ViewLayer.bl_rna_get_subclass() ViewLayer.bl_rna_get_subclass_py() Inherited Properties Inherited Functions References