@dcl/sdk 7.0.0-2536579928.commit-004d2e1 → 7.0.0-2569737935.commit-cdfa2fc

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.
@@ -189,6 +189,7 @@ declare function defineSdkComponents(engine: Pick<IEngine, 'defineComponent'>):
189
189
  AudioStream: ComponentDefinition<EcsType<PBAudioStream>>;
190
190
  BoxShape: ComponentDefinition<EcsType<PBBoxShape>>;
191
191
  CylinderShape: ComponentDefinition<EcsType<PBCylinderShape>>;
192
+ GLTFShape: ComponentDefinition<EcsType<PBGLTFShape>>;
192
193
  NFTShape: ComponentDefinition<EcsType<PBNFTShape>>;
193
194
  PlaneShape: ComponentDefinition<EcsType<PBPlaneShape>>;
194
195
  SphereShape: ComponentDefinition<EcsType<PBSphereShape>>;
@@ -233,9 +234,7 @@ export declare type EcsType<T = any> = {
233
234
  /**
234
235
  * @public
235
236
  */
236
- export declare function Engine({ transports }?: {
237
- transports?: Transport[];
238
- }): IEngine;
237
+ export declare function Engine({ transports }?: IEngineParams): IEngine;
239
238
 
240
239
  /**
241
240
  * @alpha * This file initialization is an alpha one. This is based on the old-ecs
@@ -305,6 +304,13 @@ export declare type IEngine = {
305
304
  baseComponents: SdkComponetns;
306
305
  };
307
306
 
307
+ /**
308
+ * @public
309
+ */
310
+ export declare type IEngineParams = {
311
+ transports?: Transport[];
312
+ };
313
+
308
314
  /** Include property keys from T where the property is assignable to U */
309
315
  declare type IncludeUndefined<T> = {
310
316
  [P in keyof T]: undefined extends T[P] ? P : never;
@@ -1130,6 +1136,13 @@ declare interface PBCylinderShape {
1130
1136
  radiusBottom: number;
1131
1137
  }
1132
1138
 
1139
+ declare interface PBGLTFShape {
1140
+ withCollisions: boolean;
1141
+ isPointerBlocker: boolean;
1142
+ visible: boolean;
1143
+ src: string;
1144
+ }
1145
+
1133
1146
  declare interface PBNFTShape {
1134
1147
  withCollisions: boolean;
1135
1148
  isPointerBlocker: boolean;