From 8e03daa255313d5b48b5ecf64b8fe47ea6d70c3a Mon Sep 17 00:00:00 2001 From: Alejandro Alvarez Melucci <163010988+AlejandroAlvarezMelucciDCL@users.noreply.github.com> Date: Tue, 10 Jun 2025 10:13:47 -0300 Subject: [PATCH] feat: add z-index and opacity support for ui elements (#266) * Added z index property to ui transform * Update property id As per protocol-squad's request, I updated the index to match their implementation Signed-off-by: Alejandro Alvarez Melucci <163010988+AlejandroAlvarezMelucciDCL@users.noreply.github.com> * Added opacity property --------- Signed-off-by: Alejandro Alvarez Melucci <163010988+AlejandroAlvarezMelucciDCL@users.noreply.github.com> --- proto/decentraland/sdk/components/ui_transform.proto | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proto/decentraland/sdk/components/ui_transform.proto b/proto/decentraland/sdk/components/ui_transform.proto index f7c9de35..0e3c9f0c 100644 --- a/proto/decentraland/sdk/components/ui_transform.proto +++ b/proto/decentraland/sdk/components/ui_transform.proto @@ -172,4 +172,7 @@ message PBUiTransform { optional decentraland.common.Color4 border_bottom_color = 70; optional decentraland.common.Color4 border_left_color = 71; optional decentraland.common.Color4 border_right_color = 72; + + optional float opacity = 73; // default: 1 + optional int32 z_index = 77; // default: 0 — controls render stacking order. Higher values appear in front of lower values. }