From 8f74faf7abb7ab35e32570e5e83a147372388e65 Mon Sep 17 00:00:00 2001 From: Lean Mendoza <8042536+leanmendoza@users.noreply.github.com> Date: Sat, 28 Dec 2024 16:19:22 -0300 Subject: [PATCH] add textureCamera and cameralayers component --- .../decentraland/sdk/components/camera_layers.proto | 11 +++++++++++ .../sdk/components/texture_camera.proto | 13 +++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 proto/decentraland/sdk/components/camera_layers.proto create mode 100644 proto/decentraland/sdk/components/texture_camera.proto diff --git a/proto/decentraland/sdk/components/camera_layers.proto b/proto/decentraland/sdk/components/camera_layers.proto new file mode 100644 index 00000000..9fcac006 --- /dev/null +++ b/proto/decentraland/sdk/components/camera_layers.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + +package decentraland.sdk.components; + +import "decentraland/sdk/components/common/id.proto"; + +option (common.ecs_component_id) = 1208; + +message PBCameraLayers { + repeated uint32 layers = 1; +} \ No newline at end of file diff --git a/proto/decentraland/sdk/components/texture_camera.proto b/proto/decentraland/sdk/components/texture_camera.proto new file mode 100644 index 00000000..cfde735b --- /dev/null +++ b/proto/decentraland/sdk/components/texture_camera.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + +package decentraland.sdk.components; + +import "decentraland/sdk/components/common/id.proto"; + +option (common.ecs_component_id) = 1207; + +message PBTextureCamera { + optional uint32 width = 1; + optional uint32 height = 2; + optional uint32 layer = 3; +} \ No newline at end of file