SpaceUVEditor(bpy_struct)

base class — bpy_struct

class bpy.types.SpaceUVEditor(bpy_struct)

UV editor data for the image editor space

display_stretch_type

Type of stretch to draw

  • 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_smooth_edges

Display UV edges anti-aliased

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

Automatically select also UVs sharing the same vertex as the ones being selected

  • 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 mesh vertex, irrespective if they are in 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, 10], default (1, 1)

use_live_unwrap

Continuously unwrap the selected UV island while transforming pinned vertices

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