@dcl/sdk 7.0.0-2706600078.commit-85e1525 → 7.0.0-2740047851.commit-db29ac2

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.
@@ -26,6 +26,12 @@ export declare function ArrayType<T>(type: EcsType<T>): EcsType<Array<T>>;
26
26
  */
27
27
  export declare type ByteBuffer = ReturnType<typeof createByteBuffer>;
28
28
 
29
+ declare const enum CameraMode {
30
+ FIRST_PERSON = 0,
31
+ THIRD_PERSON = 1,
32
+ UNRECOGNIZED = -1
33
+ }
34
+
29
35
  declare interface Color3 {
30
36
  r: number;
31
37
  g: number;
@@ -218,6 +224,7 @@ declare function defineSdkComponents(engine: Pick<IEngine, 'defineComponent'>):
218
224
  AvatarAttach: ComponentDefinition<EcsType<PBAvatarAttach>>;
219
225
  AvatarShape: ComponentDefinition<EcsType<PBAvatarShape>>;
220
226
  BoxShape: ComponentDefinition<EcsType<PBBoxShape>>;
227
+ CameraModeArea: ComponentDefinition<EcsType<PBCameraModeArea>>;
221
228
  CylinderShape: ComponentDefinition<EcsType<PBCylinderShape>>;
222
229
  GLTFShape: ComponentDefinition<EcsType<PBGLTFShape>>;
223
230
  NFTShape: ComponentDefinition<EcsType<PBNFTShape>>;
@@ -1187,6 +1194,11 @@ declare interface PBBoxShape {
1187
1194
  uvs: number[];
1188
1195
  }
1189
1196
 
1197
+ declare interface PBCameraModeArea {
1198
+ area: Vector3_2 | undefined;
1199
+ mode: CameraMode;
1200
+ }
1201
+
1190
1202
  declare interface PBCylinderShape {
1191
1203
  withCollisions: boolean;
1192
1204
  isPointerBlocker: boolean;