-
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.
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
syntax = "proto3"; | ||
package decentraland.sdk.components; | ||
|
||
import "decentraland/sdk/components/common/id.proto"; | ||
option (common.ecs_component_id) = 1200; | ||
|
||
// GltfNode links a scene entity with a node from within a gltf, allowing the scene to inspect it or modify it. | ||
// The Explorer will attach/update the following detected components in that entity: | ||
// - Transform | ||
// - MeshRenderer | ||
// - MeshCollider | ||
// - Material | ||
message PBGltfNode { | ||
string node_path = 1; // the node path location inside the target Gltf | ||
uint32 gltf_container_entity = 2; // the GltfContainer entity in which to look for the child node | ||
} |