Blender  V3.3
Public Member Functions | Public Attributes | List of all members
BlenderViewportParameters Class Reference

#include <viewport.h>

Public Member Functions

 BlenderViewportParameters ()
 
 BlenderViewportParameters (BL::SpaceView3D &b_v3d, bool use_developer_ui)
 
bool shader_modified (const BlenderViewportParameters &other) const
 
bool film_modified (const BlenderViewportParameters &other) const
 
bool modified (const BlenderViewportParameters &other) const
 
bool use_custom_shader () const
 

Public Attributes

bool use_scene_world
 
bool use_scene_lights
 
float studiolight_rotate_z
 
float studiolight_intensity
 
float studiolight_background_alpha
 
ustring studiolight_path
 
PassType display_pass
 
bool show_active_pixels
 

Detailed Description

Definition at line 17 of file viewport.h.

Constructor & Destructor Documentation

◆ BlenderViewportParameters() [1/2]

CCL_NAMESPACE_BEGIN BlenderViewportParameters::BlenderViewportParameters ( )

Definition at line 13 of file viewport.cpp.

◆ BlenderViewportParameters() [2/2]

BlenderViewportParameters::BlenderViewportParameters ( BL::SpaceView3D &  b_v3d,
bool  use_developer_ui 
)

Member Function Documentation

◆ film_modified()

bool BlenderViewportParameters::film_modified ( const BlenderViewportParameters other) const

Definition at line 79 of file viewport.cpp.

References display_pass, and show_active_pixels.

Referenced by modified().

◆ modified()

bool BlenderViewportParameters::modified ( const BlenderViewportParameters other) const

Definition at line 84 of file viewport.cpp.

References film_modified(), and shader_modified().

Referenced by BlenderSync::sync_recalc().

◆ shader_modified()

bool BlenderViewportParameters::shader_modified ( const BlenderViewportParameters other) const

◆ use_custom_shader()

bool BlenderViewportParameters::use_custom_shader ( ) const

Definition at line 89 of file viewport.cpp.

References use_scene_lights, and use_scene_world.

Member Data Documentation

◆ display_pass

PassType BlenderViewportParameters::display_pass

Definition at line 28 of file viewport.h.

Referenced by BlenderViewportParameters(), and film_modified().

◆ show_active_pixels

bool BlenderViewportParameters::show_active_pixels

Definition at line 29 of file viewport.h.

Referenced by BlenderViewportParameters(), and film_modified().

◆ studiolight_background_alpha

float BlenderViewportParameters::studiolight_background_alpha

Definition at line 24 of file viewport.h.

Referenced by BlenderViewportParameters(), and shader_modified().

◆ studiolight_intensity

float BlenderViewportParameters::studiolight_intensity

Definition at line 23 of file viewport.h.

Referenced by BlenderViewportParameters(), and shader_modified().

◆ studiolight_path

ustring BlenderViewportParameters::studiolight_path

Definition at line 25 of file viewport.h.

Referenced by BlenderViewportParameters(), and shader_modified().

◆ studiolight_rotate_z

float BlenderViewportParameters::studiolight_rotate_z

Definition at line 22 of file viewport.h.

Referenced by BlenderViewportParameters(), and shader_modified().

◆ use_scene_lights

bool BlenderViewportParameters::use_scene_lights

Definition at line 21 of file viewport.h.

Referenced by BlenderViewportParameters(), shader_modified(), and use_custom_shader().

◆ use_scene_world

bool BlenderViewportParameters::use_scene_world

Definition at line 20 of file viewport.h.

Referenced by BlenderViewportParameters(), shader_modified(), and use_custom_shader().


The documentation for this class was generated from the following files: