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

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.
@@ -2693,6 +2693,7 @@ const vertexvis = $root.vertexvis = (() => {
2693
2693
  * @property {vertexvis.protobuf.core.IVector3f|null} [position] PerspectiveCamera position
2694
2694
  * @property {vertexvis.protobuf.core.IVector3f|null} [lookAt] PerspectiveCamera lookAt
2695
2695
  * @property {vertexvis.protobuf.core.IVector3f|null} [up] PerspectiveCamera up
2696
+ * @property {google.protobuf.IFloatValue|null} [fovY] PerspectiveCamera fovY
2696
2697
  */
2697
2698
 
2698
2699
  /**
@@ -2734,6 +2735,14 @@ const vertexvis = $root.vertexvis = (() => {
2734
2735
  */
2735
2736
  PerspectiveCamera.prototype.up = null;
2736
2737
 
2738
+ /**
2739
+ * PerspectiveCamera fovY.
2740
+ * @member {google.protobuf.IFloatValue|null|undefined} fovY
2741
+ * @memberof vertexvis.protobuf.stream.PerspectiveCamera
2742
+ * @instance
2743
+ */
2744
+ PerspectiveCamera.prototype.fovY = null;
2745
+
2737
2746
  /**
2738
2747
  * Creates a new PerspectiveCamera instance using the specified properties.
2739
2748
  * @function create
@@ -2764,6 +2773,8 @@ const vertexvis = $root.vertexvis = (() => {
2764
2773
  $root.vertexvis.protobuf.core.Vector3f.encode(message.lookAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
2765
2774
  if (message.up != null && Object.hasOwnProperty.call(message, "up"))
2766
2775
  $root.vertexvis.protobuf.core.Vector3f.encode(message.up, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
2776
+ if (message.fovY != null && Object.hasOwnProperty.call(message, "fovY"))
2777
+ $root.google.protobuf.FloatValue.encode(message.fovY, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
2767
2778
  return writer;
2768
2779
  };
2769
2780
 
@@ -2807,6 +2818,9 @@ const vertexvis = $root.vertexvis = (() => {
2807
2818
  case 3:
2808
2819
  message.up = $root.vertexvis.protobuf.core.Vector3f.decode(reader, reader.uint32());
2809
2820
  break;
2821
+ case 4:
2822
+ message.fovY = $root.google.protobuf.FloatValue.decode(reader, reader.uint32());
2823
+ break;
2810
2824
  default:
2811
2825
  reader.skipType(tag & 7);
2812
2826
  break;
@@ -2857,6 +2871,11 @@ const vertexvis = $root.vertexvis = (() => {
2857
2871
  if (error)
2858
2872
  return "up." + error;
2859
2873
  }
2874
+ if (message.fovY != null && message.hasOwnProperty("fovY")) {
2875
+ let error = $root.google.protobuf.FloatValue.verify(message.fovY);
2876
+ if (error)
2877
+ return "fovY." + error;
2878
+ }
2860
2879
  return null;
2861
2880
  };
2862
2881
 
@@ -2887,6 +2906,11 @@ const vertexvis = $root.vertexvis = (() => {
2887
2906
  throw TypeError(".vertexvis.protobuf.stream.PerspectiveCamera.up: object expected");
2888
2907
  message.up = $root.vertexvis.protobuf.core.Vector3f.fromObject(object.up);
2889
2908
  }
2909
+ if (object.fovY != null) {
2910
+ if (typeof object.fovY !== "object")
2911
+ throw TypeError(".vertexvis.protobuf.stream.PerspectiveCamera.fovY: object expected");
2912
+ message.fovY = $root.google.protobuf.FloatValue.fromObject(object.fovY);
2913
+ }
2890
2914
  return message;
2891
2915
  };
2892
2916
 
@@ -2907,6 +2931,7 @@ const vertexvis = $root.vertexvis = (() => {
2907
2931
  object.position = null;
2908
2932
  object.lookAt = null;
2909
2933
  object.up = null;
2934
+ object.fovY = null;
2910
2935
  }
2911
2936
  if (message.position != null && message.hasOwnProperty("position"))
2912
2937
  object.position = $root.vertexvis.protobuf.core.Vector3f.toObject(message.position, options);
@@ -2914,6 +2939,8 @@ const vertexvis = $root.vertexvis = (() => {
2914
2939
  object.lookAt = $root.vertexvis.protobuf.core.Vector3f.toObject(message.lookAt, options);
2915
2940
  if (message.up != null && message.hasOwnProperty("up"))
2916
2941
  object.up = $root.vertexvis.protobuf.core.Vector3f.toObject(message.up, options);
2942
+ if (message.fovY != null && message.hasOwnProperty("fovY"))
2943
+ object.fovY = $root.google.protobuf.FloatValue.toObject(message.fovY, options);
2917
2944
  return object;
2918
2945
  };
2919
2946