protobufnet.proto 468 B

12345678910111213141516171819
  1. message IMeshImp {
  2. }
  3. message Mesh {
  4. optional IMeshImp _meshImp = 1;
  5. repeated float3 _vertices = 2;
  6. repeated uint32 _colors = 3;
  7. repeated float3 _normals = 4;
  8. repeated float2 _uvs = 5;
  9. repeated int32 _triangles = 6;
  10. }
  11. message float2 {
  12. optional float x = 1 [default = 0];
  13. optional float y = 2 [default = 0];
  14. }
  15. message float3 {
  16. optional float x = 1 [default = 0];
  17. optional float y = 2 [default = 0];
  18. optional float z = 3 [default = 0];
  19. }