MeshyHotspotPatch
Inherits Resource.
One normalized rectangle in a reusable hotspot atlas layout.
Properties
Section titled “Properties”allow_mirror_u
Section titled “allow_mirror_u”allow_mirror_u: bool = falsesetter: set_allow_mirror_u; getter: get_allow_mirror_u.
Allows horizontal mirroring when choosing a deterministic variant.
allow_mirror_v
Section titled “allow_mirror_v”allow_mirror_v: bool = falsesetter: set_allow_mirror_v; getter: get_allow_mirror_v.
Allows vertical mirroring when choosing a deterministic variant.
allow_rotation
Section titled “allow_rotation”allow_rotation: bool = truesetter: set_allow_rotation; getter: get_allow_rotation.
Allows fitting the face to the rectangle after a quarter turn.
id: int = -1setter: set_id; getter: get_id.
Stable ID used for deterministic variants. Layout.add_patch assigns it.
name: String = ""setter: set_patch_name; getter: get_patch_name.
Name shown in the hotspot editor.
pixel_inset
Section titled “pixel_inset”pixel_inset: float = 0.0setter: set_pixel_inset; getter: get_pixel_inset.
Moves UVs inward from each edge by this many texture pixels.
rect_uv
Section titled “rect_uv”rect_uv: Rect2 = Rect2(0, 0, 0.25, 0.25)setter: set_rect_uv; getter: get_rect_uv.
Atlas rectangle in normalized coordinates, with the origin at top left.
repeat_u
Section titled “repeat_u”repeat_u: bool = falsesetter: set_repeat_u; getter: get_repeat_u.
Repeats horizontally at the face texel density across the full atlas width.
repeat_v
Section titled “repeat_v”repeat_v: bool = falsesetter: set_repeat_v; getter: get_repeat_v.
Repeats vertically at the face texel density across the full atlas height.
Methods
Section titled “Methods”serialize_for_core
Section titled “serialize_for_core”serialize_for_core() -> Dictionaryqualifiers: const.