@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.
- package/dist/ecs7/index.d.ts +12 -0
- package/dist/ecs7/index.js +125 -56
- package/dist/ecs7/index.min.js +1 -1
- package/dist/ecs7/index.min.js.map +1 -1
- package/package.json +4 -4
- package/types/ecs7/index.d.ts +12 -0
package/dist/ecs7/index.d.ts
CHANGED
@@ -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;
|