SpaceUVEditor(bpy_struct)

base class — bpy_struct

class bpy.types.SpaceUVEditor.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

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

  • bpy_struct.id_data

Inherited Functions

  • bpy_struct.as_pointer

  • bpy_struct.driver_add

  • bpy_struct.driver_remove

  • bpy_struct.get

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

  • bpy_struct.pop

  • bpy_struct.property_overridable_library_set

  • bpy_struct.property_unset

  • bpy_struct.type_recast

  • bpy_struct.values

References

  • SpaceImageEditor.uv_editor