-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* inworld ui * add import * change name * update ui canvas component id --------- Co-authored-by: robtfm <[email protected]>
- Loading branch information
1 parent
acd1db5
commit 0207676
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
syntax = "proto3"; | ||
|
||
import "decentraland/sdk/components/common/id.proto"; | ||
package decentraland.sdk.components; | ||
|
||
option (common.ecs_component_id) = 1203; | ||
|
||
import "decentraland/common/colors.proto"; | ||
|
||
// The UiCanvas component can be attached to a ui root entity to specify properties of the ui texture. | ||
message PBUiCanvas { | ||
uint32 width = 1; | ||
uint32 height = 2; | ||
|
||
optional decentraland.common.Color4 color = 3; // default = (0.0, 0.0, 0.0, 0.0) / transparent | ||
} |