@vertexvis/stream-api 0.15.2-canary.16 → 0.15.2-canary.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2689,6 +2689,7 @@ const vertexvis = $root.vertexvis = (() => {
2689
2689
  * @property {vertexvis.protobuf.core.IVector3f|null} [position] PerspectiveCamera position
2690
2690
  * @property {vertexvis.protobuf.core.IVector3f|null} [lookAt] PerspectiveCamera lookAt
2691
2691
  * @property {vertexvis.protobuf.core.IVector3f|null} [up] PerspectiveCamera up
2692
+ * @property {google.protobuf.IFloatValue|null} [fovY] PerspectiveCamera fovY
2692
2693
  */
2693
2694
 
2694
2695
  /**
@@ -2730,6 +2731,14 @@ const vertexvis = $root.vertexvis = (() => {
2730
2731
  */
2731
2732
  PerspectiveCamera.prototype.up = null;
2732
2733
 
2734
+ /**
2735
+ * PerspectiveCamera fovY.
2736
+ * @member {google.protobuf.IFloatValue|null|undefined} fovY
2737
+ * @memberof vertexvis.protobuf.stream.PerspectiveCamera
2738
+ * @instance
2739
+ */
2740
+ PerspectiveCamera.prototype.fovY = null;
2741
+
2733
2742
  /**
2734
2743
  * Creates a new PerspectiveCamera instance using the specified properties.
2735
2744
  * @function create
@@ -2760,6 +2769,8 @@ const vertexvis = $root.vertexvis = (() => {
2760
2769
  $root.vertexvis.protobuf.core.Vector3f.encode(message.lookAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
2761
2770
  if (message.up != null && Object.hasOwnProperty.call(message, "up"))
2762
2771
  $root.vertexvis.protobuf.core.Vector3f.encode(message.up, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
2772
+ if (message.fovY != null && Object.hasOwnProperty.call(message, "fovY"))
2773
+ $root.google.protobuf.FloatValue.encode(message.fovY, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
2763
2774
  return writer;
2764
2775
  };
2765
2776
 
@@ -2803,6 +2814,9 @@ const vertexvis = $root.vertexvis = (() => {
2803
2814
  case 3:
2804
2815
  message.up = $root.vertexvis.protobuf.core.Vector3f.decode(reader, reader.uint32());
2805
2816
  break;
2817
+ case 4:
2818
+ message.fovY = $root.google.protobuf.FloatValue.decode(reader, reader.uint32());
2819
+ break;
2806
2820
  default:
2807
2821
  reader.skipType(tag & 7);
2808
2822
  break;
@@ -2853,6 +2867,11 @@ const vertexvis = $root.vertexvis = (() => {
2853
2867
  if (error)
2854
2868
  return "up." + error;
2855
2869
  }
2870
+ if (message.fovY != null && message.hasOwnProperty("fovY")) {
2871
+ let error = $root.google.protobuf.FloatValue.verify(message.fovY);
2872
+ if (error)
2873
+ return "fovY." + error;
2874
+ }
2856
2875
  return null;
2857
2876
  };
2858
2877
 
@@ -2883,6 +2902,11 @@ const vertexvis = $root.vertexvis = (() => {
2883
2902
  throw TypeError(".vertexvis.protobuf.stream.PerspectiveCamera.up: object expected");
2884
2903
  message.up = $root.vertexvis.protobuf.core.Vector3f.fromObject(object.up);
2885
2904
  }
2905
+ if (object.fovY != null) {
2906
+ if (typeof object.fovY !== "object")
2907
+ throw TypeError(".vertexvis.protobuf.stream.PerspectiveCamera.fovY: object expected");
2908
+ message.fovY = $root.google.protobuf.FloatValue.fromObject(object.fovY);
2909
+ }
2886
2910
  return message;
2887
2911
  };
2888
2912
 
@@ -2903,6 +2927,7 @@ const vertexvis = $root.vertexvis = (() => {
2903
2927
  object.position = null;
2904
2928
  object.lookAt = null;
2905
2929
  object.up = null;
2930
+ object.fovY = null;
2906
2931
  }
2907
2932
  if (message.position != null && message.hasOwnProperty("position"))
2908
2933
  object.position = $root.vertexvis.protobuf.core.Vector3f.toObject(message.position, options);
@@ -2910,6 +2935,8 @@ const vertexvis = $root.vertexvis = (() => {
2910
2935
  object.lookAt = $root.vertexvis.protobuf.core.Vector3f.toObject(message.lookAt, options);
2911
2936
  if (message.up != null && message.hasOwnProperty("up"))
2912
2937
  object.up = $root.vertexvis.protobuf.core.Vector3f.toObject(message.up, options);
2938
+ if (message.fovY != null && message.hasOwnProperty("fovY"))
2939
+ object.fovY = $root.google.protobuf.FloatValue.toObject(message.fovY, options);
2913
2940
  return object;
2914
2941
  };
2915
2942