Exemplo n.º 1
0
 public RenderMetadata_t(StateMessage_t state)
 {
     utime         = state.utime;
     isCompressed  = state.compressImage;
     camWidth      = state.camWidth;
     camHeight     = state.camHeight;
     camDepthScale = state.camDepthScale;
     cameraIDs     = state.cameras.Select(obj => obj.ID).ToList();
     channels      = state.cameras.Select(obj => obj.channels).ToList();
 }
Exemplo n.º 2
0
 public RenderMetadata_t(StateMessage_t state)
 {
     ntime         = state.ntime;
     camWidth      = state.camWidth;
     camHeight     = state.camHeight;
     camDepthScale = state.camDepthScale;
     cameraIDs     = state.cameras.Select(obj => obj.ID).ToList();
     channels      = state.cameras.Select(obj => obj.channels).ToList();
     // These come from private vars generated by unity on every frame.
     hasCameraCollision = state.hasCameraCollision;
     landmarksInView    = state.landmarksInView.ToList();
     lidarReturn        = state.lidarReturn;
 }