SpaceUVEditor(bpy_struct)
base class — bpy_struct
- class bpy.types.SpaceUVEditor(bpy_struct)
UV editor data for the image editor space
- custom_grid_subdivisions
Number of grid units in UV space that make one UV Unit (array of 2 items, in [1, 5000], default (0, 0))
- Type:
bpy_prop_array[int]
- display_stretch_type
Type of stretch to display (default
'ANGLE')ANGLEAngle – Angular distortion between UV and 3D angles.AREAArea – Area distortion between UV and 3D faces.
- Type:
Literal[‘ANGLE’, ‘AREA’]
- edge_display_type
Display style for UV edges (default
'OUTLINE')OUTLINEOutline – Display white edges with black outline.DASHDash – Display dashed black-white edges.BLACKBlack – Display black edges.WHITEWhite – Display white edges.
- Type:
Literal[‘OUTLINE’, ‘DASH’, ‘BLACK’, ‘WHITE’]
- grid_shape_source
Specify source for the grid shape (default
'DYNAMIC')DYNAMICDynamic – Dynamic grid.FIXEDFixed – Manually set grid divisions.PIXELPixel – Grid aligns with pixels from image.
- Type:
Literal[‘DYNAMIC’, ‘FIXED’, ‘PIXEL’]
- lock_bounds
Constraint to stay within the image bounds while editing (default False)
- Type:
bool
- pixel_round_mode
Round UVs to pixels while editing (default
'DISABLED')DISABLEDDisabled – Don’t round to pixels.CORNERCorner – Round to pixel corners.CENTERCenter – Round to pixel centers.
- Type:
Literal[‘DISABLED’, ‘CORNER’, ‘CENTER’]
- show_faces
Display faces over the image (default True)
- Type:
bool
- show_grid_over_image
Show the grid over the image (default True)
- Type:
bool
- show_metadata
Display metadata properties of the image (default False)
- Type:
bool
- show_modified_edges
Display edges after modifiers are applied (default False)
- Type:
bool
- show_pixel_coords
Display UV coordinates in pixels rather than from 0.0 to 1.0 (default True)
- Type:
bool
- show_stretch
Display faces colored according to the difference in shape between UVs and their 3D coordinates (blue for low distortion, red for high distortion) (default False)
- Type:
bool
- show_uv
Display overlay of UV layer (default True)
- Type:
bool
- stretch_opacity
Opacity of the UV Stretch overlay (in [0, 1], default 0.0)
- Type:
float
- tile_grid_shape
How many tiles will be shown in the background (array of 2 items, in [1, 100], default (0, 0))
- Type:
bpy_prop_array[int]
- use_live_unwrap
Continuously unwrap the selected UV island while transforming pinned vertices (default False)
- Type:
bool
- uv_edge_opacity
Opacity of edges in UV overlays (in [0, 1], default 0.0)
- Type:
float
- uv_face_opacity
Opacity of faces in UV overlays (in [0, 1], default 0.0)
- Type:
float
- uv_opacity
Opacity of UV overlays (in [0, 1], default 0.0)
- Type:
float
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (
bpy.types.Struct| None) – The value to return when not found.
- Returns:
The RNA type or default when not found.
- Return type:
- classmethod bl_rna_get_subclass_py(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (type | None) – The value to return when not found.
- Returns:
The class or default when not found.
- Return type:
type