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

Type

int in [1, 5000], default 0

display_stretch_type

Type of stretch to display

  • ANGLE Angle – Angular distortion between UV and 3D angles.

  • AREA Area – Area distortion between UV and 3D faces.

Type

enum in [‘ANGLE’, ‘AREA’], default ‘ANGLE’

edge_display_type

Display style for UV edges

  • OUTLINE Outline – Display white edges with black outline.

  • DASH Dash – Display dashed black-white edges.

  • BLACK Black – Display black edges.

  • WHITE White – Display white edges.

Type

enum in [‘OUTLINE’, ‘DASH’, ‘BLACK’, ‘WHITE’], default ‘OUTLINE’

lock_bounds

Constraint to stay within the image bounds while editing

Type

boolean, default False

pixel_snap_mode

Snap UVs to pixels while editing

  • DISABLED Disabled – Don’t snap to pixels.

  • CORNER Corner – Snap to pixel corners.

  • CENTER Center – Snap to pixel centers.

Type

enum in [‘DISABLED’, ‘CORNER’, ‘CENTER’], default ‘DISABLED’

show_faces

Display faces over the image

Type

boolean, default False

show_metadata

Display metadata properties of the image

Type

boolean, default False

show_modified_edges

Display edges after modifiers are applied

Type

boolean, default False

show_pixel_coords

Display UV coordinates in pixels rather than from 0.0 to 1.0

Type

boolean, default False

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)

Type

boolean, default False

show_texpaint

Display overlay of texture paint uv layer

Type

boolean, default False

sticky_select_mode

Method for extending UV vertex selection

  • DISABLED Disabled – Sticky vertex selection disabled.

  • SHARED_LOCATION Shared Location – Select UVs that are at the same location and share a mesh vertex.

  • SHARED_VERTEX Shared Vertex – Select UVs that share a mesh vertex, whether or not they are at the same location.

Type

enum in [‘DISABLED’, ‘SHARED_LOCATION’, ‘SHARED_VERTEX’], default ‘SHARED_LOCATION’

tile_grid_shape

How many tiles will be shown in the background

Type

int array of 2 items in [1, 100], default (1, 1)

use_custom_grid

Use a grid with a user-defined number of steps

Type

boolean, default True

use_live_unwrap

Continuously unwrap the selected UV island while transforming pinned vertices

Type

boolean, default False

uv_opacity

Opacity of UV overlays

Type

float in [0, 1], default 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