@dcl/ecs 7.22.3 → 7.22.4-24244806167.commit-6559014
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/components/extended/AudioAnalysis.d.ts +55 -0
- package/dist/components/extended/AudioAnalysis.js +66 -0
- package/dist/components/generated/AudioAnalysis.gen.d.ts +1 -0
- package/dist/components/generated/AudioAnalysis.gen.js +25 -0
- package/dist/components/generated/AvatarLocomotionSettings.gen.d.ts +1 -0
- package/dist/components/generated/AvatarLocomotionSettings.gen.js +25 -0
- package/dist/components/generated/component-names.gen.js +2 -0
- package/dist/components/generated/global.gen.d.ts +4 -0
- package/dist/components/generated/global.gen.js +2 -0
- package/dist/components/generated/index.gen.d.ts +8 -0
- package/dist/components/generated/index.gen.js +10 -0
- package/dist/components/generated/pb/decentraland/sdk/components/audio_analysis.gen.d.ts +37 -0
- package/dist/components/generated/pb/decentraland/sdk/components/audio_analysis.gen.js +161 -0
- package/dist/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +35 -0
- package/dist/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.js +123 -0
- package/dist/components/generated/pb/decentraland/sdk/components/avatar_shape.gen.d.ts +8 -0
- package/dist/components/generated/pb/decentraland/sdk/components/avatar_shape.gen.js +9 -0
- package/dist/components/generated/pb/decentraland/sdk/components/common/input_action.gen.d.ts +2 -1
- package/dist/components/generated/pb/decentraland/sdk/components/common/input_action.gen.js +1 -0
- package/dist/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.d.ts +3 -0
- package/dist/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.js +10 -1
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.js +3 -0
- package/dist/components/types.d.ts +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -0
- package/dist-cjs/components/extended/AudioAnalysis.d.ts +55 -0
- package/dist-cjs/components/extended/AudioAnalysis.js +70 -0
- package/dist-cjs/components/generated/AudioAnalysis.gen.d.ts +1 -0
- package/dist-cjs/components/generated/AudioAnalysis.gen.js +28 -0
- package/dist-cjs/components/generated/AvatarLocomotionSettings.gen.d.ts +1 -0
- package/dist-cjs/components/generated/AvatarLocomotionSettings.gen.js +28 -0
- package/dist-cjs/components/generated/component-names.gen.js +2 -0
- package/dist-cjs/components/generated/global.gen.d.ts +4 -0
- package/dist-cjs/components/generated/global.gen.js +4 -2
- package/dist-cjs/components/generated/index.gen.d.ts +8 -0
- package/dist-cjs/components/generated/index.gen.js +14 -2
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/audio_analysis.gen.d.ts +37 -0
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/audio_analysis.gen.js +167 -0
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +35 -0
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.js +129 -0
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/avatar_shape.gen.d.ts +8 -0
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/avatar_shape.gen.js +10 -1
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/common/input_action.gen.d.ts +2 -1
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/common/input_action.gen.js +1 -0
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.d.ts +3 -0
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.js +10 -1
- package/dist-cjs/components/index.d.ts +4 -0
- package/dist-cjs/components/index.js +5 -1
- package/dist-cjs/components/types.d.ts +1 -0
- package/dist-cjs/index.d.ts +2 -1
- package/dist-cjs/index.js +2 -1
- package/package.json +2 -2
package/dist/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.js
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import _m0 from "protobufjs/minimal";
|
|
3
|
+
const protobufPackageSarasa = "decentraland.sdk.components";
|
|
4
|
+
function createBasePBAvatarLocomotionSettings() {
|
|
5
|
+
return {
|
|
6
|
+
walkSpeed: undefined,
|
|
7
|
+
jogSpeed: undefined,
|
|
8
|
+
runSpeed: undefined,
|
|
9
|
+
jumpHeight: undefined,
|
|
10
|
+
runJumpHeight: undefined,
|
|
11
|
+
hardLandingCooldown: undefined,
|
|
12
|
+
doubleJumpHeight: undefined,
|
|
13
|
+
glidingSpeed: undefined,
|
|
14
|
+
glidingFallingSpeed: undefined,
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export var PBAvatarLocomotionSettings;
|
|
21
|
+
(function (PBAvatarLocomotionSettings) {
|
|
22
|
+
function encode(message, writer = _m0.Writer.create()) {
|
|
23
|
+
if (message.walkSpeed !== undefined) {
|
|
24
|
+
writer.uint32(13).float(message.walkSpeed);
|
|
25
|
+
}
|
|
26
|
+
if (message.jogSpeed !== undefined) {
|
|
27
|
+
writer.uint32(21).float(message.jogSpeed);
|
|
28
|
+
}
|
|
29
|
+
if (message.runSpeed !== undefined) {
|
|
30
|
+
writer.uint32(29).float(message.runSpeed);
|
|
31
|
+
}
|
|
32
|
+
if (message.jumpHeight !== undefined) {
|
|
33
|
+
writer.uint32(37).float(message.jumpHeight);
|
|
34
|
+
}
|
|
35
|
+
if (message.runJumpHeight !== undefined) {
|
|
36
|
+
writer.uint32(45).float(message.runJumpHeight);
|
|
37
|
+
}
|
|
38
|
+
if (message.hardLandingCooldown !== undefined) {
|
|
39
|
+
writer.uint32(53).float(message.hardLandingCooldown);
|
|
40
|
+
}
|
|
41
|
+
if (message.doubleJumpHeight !== undefined) {
|
|
42
|
+
writer.uint32(61).float(message.doubleJumpHeight);
|
|
43
|
+
}
|
|
44
|
+
if (message.glidingSpeed !== undefined) {
|
|
45
|
+
writer.uint32(69).float(message.glidingSpeed);
|
|
46
|
+
}
|
|
47
|
+
if (message.glidingFallingSpeed !== undefined) {
|
|
48
|
+
writer.uint32(77).float(message.glidingFallingSpeed);
|
|
49
|
+
}
|
|
50
|
+
return writer;
|
|
51
|
+
}
|
|
52
|
+
PBAvatarLocomotionSettings.encode = encode;
|
|
53
|
+
function decode(input, length) {
|
|
54
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
55
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
56
|
+
const message = createBasePBAvatarLocomotionSettings();
|
|
57
|
+
while (reader.pos < end) {
|
|
58
|
+
const tag = reader.uint32();
|
|
59
|
+
switch (tag >>> 3) {
|
|
60
|
+
case 1:
|
|
61
|
+
if (tag !== 13) {
|
|
62
|
+
break;
|
|
63
|
+
}
|
|
64
|
+
message.walkSpeed = reader.float();
|
|
65
|
+
continue;
|
|
66
|
+
case 2:
|
|
67
|
+
if (tag !== 21) {
|
|
68
|
+
break;
|
|
69
|
+
}
|
|
70
|
+
message.jogSpeed = reader.float();
|
|
71
|
+
continue;
|
|
72
|
+
case 3:
|
|
73
|
+
if (tag !== 29) {
|
|
74
|
+
break;
|
|
75
|
+
}
|
|
76
|
+
message.runSpeed = reader.float();
|
|
77
|
+
continue;
|
|
78
|
+
case 4:
|
|
79
|
+
if (tag !== 37) {
|
|
80
|
+
break;
|
|
81
|
+
}
|
|
82
|
+
message.jumpHeight = reader.float();
|
|
83
|
+
continue;
|
|
84
|
+
case 5:
|
|
85
|
+
if (tag !== 45) {
|
|
86
|
+
break;
|
|
87
|
+
}
|
|
88
|
+
message.runJumpHeight = reader.float();
|
|
89
|
+
continue;
|
|
90
|
+
case 6:
|
|
91
|
+
if (tag !== 53) {
|
|
92
|
+
break;
|
|
93
|
+
}
|
|
94
|
+
message.hardLandingCooldown = reader.float();
|
|
95
|
+
continue;
|
|
96
|
+
case 7:
|
|
97
|
+
if (tag !== 61) {
|
|
98
|
+
break;
|
|
99
|
+
}
|
|
100
|
+
message.doubleJumpHeight = reader.float();
|
|
101
|
+
continue;
|
|
102
|
+
case 8:
|
|
103
|
+
if (tag !== 69) {
|
|
104
|
+
break;
|
|
105
|
+
}
|
|
106
|
+
message.glidingSpeed = reader.float();
|
|
107
|
+
continue;
|
|
108
|
+
case 9:
|
|
109
|
+
if (tag !== 77) {
|
|
110
|
+
break;
|
|
111
|
+
}
|
|
112
|
+
message.glidingFallingSpeed = reader.float();
|
|
113
|
+
continue;
|
|
114
|
+
}
|
|
115
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
116
|
+
break;
|
|
117
|
+
}
|
|
118
|
+
reader.skipType(tag & 7);
|
|
119
|
+
}
|
|
120
|
+
return message;
|
|
121
|
+
}
|
|
122
|
+
PBAvatarLocomotionSettings.decode = decode;
|
|
123
|
+
})(PBAvatarLocomotionSettings || (PBAvatarLocomotionSettings = {}));
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import _m0 from "protobufjs/minimal";
|
|
2
2
|
import { Color3 } from "../../common/colors.gen";
|
|
3
|
+
/** Mask for which bones an animation applies to. */
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const enum AvatarEmoteMask {
|
|
8
|
+
AEM_FULL_BODY = 0,
|
|
9
|
+
AEM_UPPER_BODY = 1
|
|
10
|
+
}
|
|
3
11
|
/**
|
|
4
12
|
* The AvatarShape component contains the information required to draw and animate avatar, acting as
|
|
5
13
|
* a simplified GLTF container for this specific case.
|
|
@@ -3,6 +3,15 @@ import Long from "long";
|
|
|
3
3
|
import _m0 from "protobufjs/minimal";
|
|
4
4
|
import { Color3 } from "../../common/colors.gen";
|
|
5
5
|
const protobufPackageSarasa = "decentraland.sdk.components";
|
|
6
|
+
/** Mask for which bones an animation applies to. */
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export var AvatarEmoteMask;
|
|
11
|
+
(function (AvatarEmoteMask) {
|
|
12
|
+
AvatarEmoteMask[AvatarEmoteMask["AEM_FULL_BODY"] = 0] = "AEM_FULL_BODY";
|
|
13
|
+
AvatarEmoteMask[AvatarEmoteMask["AEM_UPPER_BODY"] = 1] = "AEM_UPPER_BODY";
|
|
14
|
+
})(AvatarEmoteMask || (AvatarEmoteMask = {}));
|
|
6
15
|
function createBasePBAvatarShape() {
|
|
7
16
|
return {
|
|
8
17
|
id: "",
|
|
@@ -19,6 +19,7 @@ export var InputAction;
|
|
|
19
19
|
InputAction[InputAction["IA_ACTION_4"] = 11] = "IA_ACTION_4";
|
|
20
20
|
InputAction[InputAction["IA_ACTION_5"] = 12] = "IA_ACTION_5";
|
|
21
21
|
InputAction[InputAction["IA_ACTION_6"] = 13] = "IA_ACTION_6";
|
|
22
|
+
InputAction[InputAction["IA_MODIFIER"] = 14] = "IA_MODIFIER";
|
|
22
23
|
})(InputAction || (InputAction = {}));
|
|
23
24
|
/** PointerEventType is a kind of interaction that can be detected. */
|
|
24
25
|
/**
|
|
@@ -6,6 +6,7 @@ import { CameraTransition } from "./common/camera_transition.gen";
|
|
|
6
6
|
* an 'instant' transition (like using speed/time = 0)
|
|
7
7
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
|
8
8
|
* the holding entity transform).
|
|
9
|
+
* * The fov defines the Field of View of the virtual camera
|
|
9
10
|
*/
|
|
10
11
|
/**
|
|
11
12
|
* @public
|
|
@@ -13,6 +14,8 @@ import { CameraTransition } from "./common/camera_transition.gen";
|
|
|
13
14
|
export interface PBVirtualCamera {
|
|
14
15
|
defaultTransition?: CameraTransition | undefined;
|
|
15
16
|
lookAtEntity?: number | undefined;
|
|
17
|
+
/** default: 60 */
|
|
18
|
+
fov?: number | undefined;
|
|
16
19
|
}
|
|
17
20
|
/**
|
|
18
21
|
* @public
|
|
@@ -3,7 +3,7 @@ import _m0 from "protobufjs/minimal";
|
|
|
3
3
|
import { CameraTransition } from "./common/camera_transition.gen";
|
|
4
4
|
const protobufPackageSarasa = "decentraland.sdk.components";
|
|
5
5
|
function createBasePBVirtualCamera() {
|
|
6
|
-
return { defaultTransition: undefined, lookAtEntity: undefined };
|
|
6
|
+
return { defaultTransition: undefined, lookAtEntity: undefined, fov: undefined };
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* @public
|
|
@@ -17,6 +17,9 @@ export var PBVirtualCamera;
|
|
|
17
17
|
if (message.lookAtEntity !== undefined) {
|
|
18
18
|
writer.uint32(16).uint32(message.lookAtEntity);
|
|
19
19
|
}
|
|
20
|
+
if (message.fov !== undefined) {
|
|
21
|
+
writer.uint32(29).float(message.fov);
|
|
22
|
+
}
|
|
20
23
|
return writer;
|
|
21
24
|
}
|
|
22
25
|
PBVirtualCamera.encode = encode;
|
|
@@ -39,6 +42,12 @@ export var PBVirtualCamera;
|
|
|
39
42
|
}
|
|
40
43
|
message.lookAtEntity = reader.uint32();
|
|
41
44
|
continue;
|
|
45
|
+
case 3:
|
|
46
|
+
if (tag !== 29) {
|
|
47
|
+
break;
|
|
48
|
+
}
|
|
49
|
+
message.fov = reader.float();
|
|
50
|
+
continue;
|
|
42
51
|
}
|
|
43
52
|
if ((tag & 7) === 4 || tag === 0) {
|
|
44
53
|
break;
|
|
@@ -2,6 +2,8 @@ import { GrowOnlyValueSetComponentDefinition, LastWriteWinElementSetComponentDef
|
|
|
2
2
|
import { IEngine } from '../engine/types';
|
|
3
3
|
import { AnimatorComponentDefinitionExtended } from './extended/Animator';
|
|
4
4
|
import { AudioSourceComponentDefinitionExtended } from './extended/AudioSource';
|
|
5
|
+
import { AudioAnalysisComponentDefinitionExtended } from './extended/AudioAnalysis';
|
|
6
|
+
import type { AudioAnalysisView } from './extended/AudioAnalysis';
|
|
5
7
|
import { MaterialComponentDefinitionExtended } from './extended/Material';
|
|
6
8
|
import { MeshColliderComponentDefinitionExtended } from './extended/MeshCollider';
|
|
7
9
|
import { MeshRendererComponentDefinitionExtended } from './extended/MeshRenderer';
|
|
@@ -26,6 +28,7 @@ export declare const Transform: LwwComponentGetter<TransformComponentExtended>;
|
|
|
26
28
|
export declare const Material: LwwComponentGetter<MaterialComponentDefinitionExtended>;
|
|
27
29
|
export declare const Animator: LwwComponentGetter<AnimatorComponentDefinitionExtended>;
|
|
28
30
|
export declare const AudioSource: LwwComponentGetter<AudioSourceComponentDefinitionExtended>;
|
|
31
|
+
export declare const AudioAnalysis: LwwComponentGetter<AudioAnalysisComponentDefinitionExtended>;
|
|
29
32
|
export declare const AudioStream: (engine: Pick<IEngine, 'defineComponentFromSchema' | 'defineValueSetComponentFromSchema'>) => AudioStreamComponentDefinitionExtended;
|
|
30
33
|
export declare const MeshRenderer: LwwComponentGetter<MeshRendererComponentDefinitionExtended>;
|
|
31
34
|
export declare const MeshCollider: LwwComponentGetter<MeshColliderComponentDefinitionExtended>;
|
|
@@ -53,3 +56,4 @@ export declare const NetworkEntity: (engine: Pick<IEngine, 'defineComponent'>) =
|
|
|
53
56
|
*/
|
|
54
57
|
export declare const NetworkParent: (engine: Pick<IEngine, 'defineComponent'>) => LastWriteWinElementSetComponentDefinition<INetowrkParentType>;
|
|
55
58
|
export { MediaState };
|
|
59
|
+
export type { AudioAnalysisView };
|
package/dist/components/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { defineAnimatorComponent } from './extended/Animator';
|
|
2
2
|
import { defineAudioSourceComponent } from './extended/AudioSource';
|
|
3
|
+
import { defineAudioAnalysisComponent } from './extended/AudioAnalysis';
|
|
3
4
|
import { defineMaterialComponent } from './extended/Material';
|
|
4
5
|
import { defineMeshColliderComponent } from './extended/MeshCollider';
|
|
5
6
|
import { defineMeshRendererComponent } from './extended/MeshRenderer';
|
|
@@ -27,6 +28,8 @@ export const Animator = (engine) => defineAnimatorComponent(engine);
|
|
|
27
28
|
/* @__PURE__ */
|
|
28
29
|
export const AudioSource = (engine) => defineAudioSourceComponent(engine);
|
|
29
30
|
/* @__PURE__ */
|
|
31
|
+
export const AudioAnalysis = (engine) => defineAudioAnalysisComponent(engine);
|
|
32
|
+
/* @__PURE__ */
|
|
30
33
|
export const AudioStream = (engine) => defineAudioStreamComponent(engine);
|
|
31
34
|
/* @__PURE__ */
|
|
32
35
|
export const MeshRenderer = (engine) => defineMeshRendererComponent(engine);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export type { AnimatorComponentDefinitionExtended } from './extended/Animator';
|
|
2
2
|
export type { AudioSourceComponentDefinitionExtended } from './extended/AudioSource';
|
|
3
|
+
export type { AudioAnalysisComponentDefinitionExtended, AudioAnalysisView } from './extended/AudioAnalysis';
|
|
3
4
|
export type { AudioStreamComponentDefinitionExtended } from './extended/AudioStream';
|
|
4
5
|
export type { MeshRendererComponentDefinitionExtended } from './extended/MeshRenderer';
|
|
5
6
|
export type { MeshColliderComponentDefinitionExtended } from './extended/MeshCollider';
|
package/dist/index.d.ts
CHANGED
|
@@ -15,12 +15,13 @@ export * from './systems/triggerArea';
|
|
|
15
15
|
export * from './systems/physics';
|
|
16
16
|
export * from './engine/entity';
|
|
17
17
|
export * from './components/types';
|
|
18
|
-
import { MaterialComponentDefinitionExtended, MeshColliderComponentDefinitionExtended, MeshRendererComponentDefinitionExtended, TransformComponentExtended, AnimatorComponentDefinitionExtended, AudioSourceComponentDefinitionExtended, AudioStreamComponentDefinitionExtended, ISyncComponents, TweenComponentDefinitionExtended, INetowrkEntity, INetowrkParent, VirtualCameraComponentDefinitionExtended, InputModifierComponentDefinitionExtended, LightSourceComponentDefinitionExtended, TriggerAreaComponentDefinitionExtended, ParticleSystemComponentDefinitionExtended } from './components/types';
|
|
18
|
+
import { MaterialComponentDefinitionExtended, MeshColliderComponentDefinitionExtended, MeshRendererComponentDefinitionExtended, TransformComponentExtended, AnimatorComponentDefinitionExtended, AudioSourceComponentDefinitionExtended, AudioAnalysisComponentDefinitionExtended, AudioStreamComponentDefinitionExtended, ISyncComponents, TweenComponentDefinitionExtended, INetowrkEntity, INetowrkParent, VirtualCameraComponentDefinitionExtended, InputModifierComponentDefinitionExtended, LightSourceComponentDefinitionExtended, TriggerAreaComponentDefinitionExtended, ParticleSystemComponentDefinitionExtended } from './components/types';
|
|
19
19
|
import { NameComponent } from './components/manual/Name';
|
|
20
20
|
import { TagsComponentDefinitionExtended } from './components/manual/Tags';
|
|
21
21
|
export declare const Transform: TransformComponentExtended;
|
|
22
22
|
export declare const Animator: AnimatorComponentDefinitionExtended;
|
|
23
23
|
export declare const AudioSource: AudioSourceComponentDefinitionExtended;
|
|
24
|
+
export declare const AudioAnalysis: AudioAnalysisComponentDefinitionExtended;
|
|
24
25
|
export declare const AudioStream: AudioStreamComponentDefinitionExtended;
|
|
25
26
|
export declare const Material: MaterialComponentDefinitionExtended;
|
|
26
27
|
export declare const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
package/dist/index.js
CHANGED
|
@@ -25,6 +25,7 @@ import { engine } from './runtime/initialization';
|
|
|
25
25
|
export const Transform = /* @__PURE__*/ components.Transform(engine);
|
|
26
26
|
export const Animator = /* @__PURE__*/ components.Animator(engine);
|
|
27
27
|
export const AudioSource = /* @__PURE__*/ components.AudioSource(engine);
|
|
28
|
+
export const AudioAnalysis = /* @__PURE__*/ components.AudioAnalysis(engine);
|
|
28
29
|
export const AudioStream = /* @__PURE__*/ components.AudioStream(engine);
|
|
29
30
|
export const Material = /* @__PURE__*/ components.Material(engine);
|
|
30
31
|
export const MeshRenderer = /* @__PURE__*/ components.MeshRenderer(engine);
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Entity, IEngine } from '../../engine';
|
|
2
|
+
import { LastWriteWinElementSetComponentDefinition } from '../../engine/component';
|
|
3
|
+
import { PBAudioAnalysis, PBAudioAnalysisMode } from '../generated/pb/decentraland/sdk/components/audio_analysis.gen';
|
|
4
|
+
export interface AudioAnalysisComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBAudioAnalysis> {
|
|
5
|
+
/**
|
|
6
|
+
* Reads the component data of `entity` into the provided `out` view.
|
|
7
|
+
*
|
|
8
|
+
* @throws Error if the entity does not have an AudioAnalysis component.
|
|
9
|
+
* @param entity - The entity whose AudioAnalysis data will be read.
|
|
10
|
+
* @param out - An existing AudioAnalysisView to populate with the latest values.
|
|
11
|
+
*/
|
|
12
|
+
readIntoView(entity: Entity, out: AudioAnalysisView): void;
|
|
13
|
+
/**
|
|
14
|
+
* Attempts to read the component data of `entity` into the provided `out` view.
|
|
15
|
+
*
|
|
16
|
+
* @returns `true` if the component exists and data was written into `out`,
|
|
17
|
+
* `false` if the entity does not have an AudioAnalysis component.
|
|
18
|
+
* @param entity - The entity whose AudioAnalysis data will be read.
|
|
19
|
+
* @param out - An existing AudioAnalysisView to populate.
|
|
20
|
+
*/
|
|
21
|
+
tryReadIntoView(entity: Entity, out: AudioAnalysisView): boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Creates an AudioAnalysis component for the given `entity`.
|
|
24
|
+
*
|
|
25
|
+
* If a component already exists on the entity, this call fails (does not replace).
|
|
26
|
+
*
|
|
27
|
+
* @param entity - The entity to attach the component to.
|
|
28
|
+
* @param mode - Analysis mode. Defaults to `PBAudioAnalysisMode.MODE_LOGARITHMIC`.
|
|
29
|
+
* @param amplitudeGain - Optional amplitude gain multiplier.
|
|
30
|
+
* @param bandsGain - Optional gain multiplier applied to all frequency bands.
|
|
31
|
+
*/
|
|
32
|
+
createAudioAnalysis(entity: Entity, mode?: PBAudioAnalysisMode, // default is PBAudioAnalysisMode.MODE_LOGARITHMIC
|
|
33
|
+
amplitudeGain?: number, bandsGain?: number): void;
|
|
34
|
+
/**
|
|
35
|
+
* Creates the AudioAnalysis component if missing, or replaces the existing one.
|
|
36
|
+
*
|
|
37
|
+
* @param entity - The target entity.
|
|
38
|
+
* @param mode - Analysis mode. Defaults to `PBAudioAnalysisMode.MODE_LOGARITHMIC`.
|
|
39
|
+
* @param amplitudeGain - Optional amplitude gain multiplier.
|
|
40
|
+
* @param bandsGain - Optional gain multiplier applied to the frequency bands.
|
|
41
|
+
*/
|
|
42
|
+
createOrReplaceAudioAnalysis(entity: Entity, mode?: PBAudioAnalysisMode, // default is PBAudioAnalysisMode.MODE_LOGARITHMIC
|
|
43
|
+
amplitudeGain?: number, bandsGain?: number): void;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* A read-only JavaScript-friendly view of AudioAnalysis ECS data.
|
|
47
|
+
*
|
|
48
|
+
* `amplitude` represents the aggregated signal strength.
|
|
49
|
+
* `bands` represents the processed frequency bands.
|
|
50
|
+
*/
|
|
51
|
+
export type AudioAnalysisView = {
|
|
52
|
+
amplitude: number;
|
|
53
|
+
bands: number[];
|
|
54
|
+
};
|
|
55
|
+
export declare function defineAudioAnalysisComponent(engine: Pick<IEngine, 'defineComponentFromSchema'>): AudioAnalysisComponentDefinitionExtended;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defineAudioAnalysisComponent = void 0;
|
|
4
|
+
const index_gen_1 = require("../generated/index.gen");
|
|
5
|
+
function defineAudioAnalysisComponent(engine) {
|
|
6
|
+
const theComponent = (0, index_gen_1.AudioAnalysis)(engine);
|
|
7
|
+
return {
|
|
8
|
+
...theComponent,
|
|
9
|
+
readIntoView(entity, out) {
|
|
10
|
+
const audioAnalysis = theComponent.get(entity);
|
|
11
|
+
out.amplitude = audioAnalysis.amplitude;
|
|
12
|
+
out.bands[0] = audioAnalysis.band0;
|
|
13
|
+
out.bands[1] = audioAnalysis.band1;
|
|
14
|
+
out.bands[2] = audioAnalysis.band2;
|
|
15
|
+
out.bands[3] = audioAnalysis.band3;
|
|
16
|
+
out.bands[4] = audioAnalysis.band4;
|
|
17
|
+
out.bands[5] = audioAnalysis.band5;
|
|
18
|
+
out.bands[6] = audioAnalysis.band6;
|
|
19
|
+
out.bands[7] = audioAnalysis.band7;
|
|
20
|
+
},
|
|
21
|
+
tryReadIntoView(entity, out) {
|
|
22
|
+
const audioAnalysis = theComponent.getOrNull(entity);
|
|
23
|
+
if (!audioAnalysis)
|
|
24
|
+
return false;
|
|
25
|
+
out.amplitude = audioAnalysis.amplitude;
|
|
26
|
+
out.bands[0] = audioAnalysis.band0;
|
|
27
|
+
out.bands[1] = audioAnalysis.band1;
|
|
28
|
+
out.bands[2] = audioAnalysis.band2;
|
|
29
|
+
out.bands[3] = audioAnalysis.band3;
|
|
30
|
+
out.bands[4] = audioAnalysis.band4;
|
|
31
|
+
out.bands[5] = audioAnalysis.band5;
|
|
32
|
+
out.bands[6] = audioAnalysis.band6;
|
|
33
|
+
out.bands[7] = audioAnalysis.band7;
|
|
34
|
+
return true;
|
|
35
|
+
},
|
|
36
|
+
createAudioAnalysis(entity, mode, amplitudeGain, bandsGain) {
|
|
37
|
+
theComponent.create(entity, {
|
|
38
|
+
mode: mode || 1 /* PBAudioAnalysisMode.MODE_LOGARITHMIC */,
|
|
39
|
+
amplitudeGain: amplitudeGain ?? undefined,
|
|
40
|
+
bandsGain: bandsGain ?? undefined,
|
|
41
|
+
amplitude: 0,
|
|
42
|
+
band0: 0,
|
|
43
|
+
band1: 0,
|
|
44
|
+
band2: 0,
|
|
45
|
+
band3: 0,
|
|
46
|
+
band4: 0,
|
|
47
|
+
band5: 0,
|
|
48
|
+
band6: 0,
|
|
49
|
+
band7: 0
|
|
50
|
+
});
|
|
51
|
+
},
|
|
52
|
+
createOrReplaceAudioAnalysis(entity, mode, amplitudeGain, bandsGain) {
|
|
53
|
+
theComponent.createOrReplace(entity, {
|
|
54
|
+
mode: mode || 1 /* PBAudioAnalysisMode.MODE_LOGARITHMIC */,
|
|
55
|
+
amplitudeGain: amplitudeGain ?? undefined,
|
|
56
|
+
bandsGain: bandsGain ?? undefined,
|
|
57
|
+
amplitude: 0,
|
|
58
|
+
band0: 0,
|
|
59
|
+
band1: 0,
|
|
60
|
+
band2: 0,
|
|
61
|
+
band3: 0,
|
|
62
|
+
band4: 0,
|
|
63
|
+
band5: 0,
|
|
64
|
+
band6: 0,
|
|
65
|
+
band7: 0
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
exports.defineAudioAnalysisComponent = defineAudioAnalysisComponent;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AudioAnalysisSchema = void 0;
|
|
4
|
+
const audio_analysis_gen_1 = require("./pb/decentraland/sdk/components/audio_analysis.gen");
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
exports.AudioAnalysisSchema = {
|
|
9
|
+
COMPONENT_ID: 1212,
|
|
10
|
+
serialize(value, builder) {
|
|
11
|
+
const writer = audio_analysis_gen_1.PBAudioAnalysis.encode(value);
|
|
12
|
+
const buffer = new Uint8Array(writer.finish(), 0, writer.len);
|
|
13
|
+
builder.writeBuffer(buffer, false);
|
|
14
|
+
},
|
|
15
|
+
deserialize(reader) {
|
|
16
|
+
return audio_analysis_gen_1.PBAudioAnalysis.decode(reader.buffer(), reader.remainingBytes());
|
|
17
|
+
},
|
|
18
|
+
create() {
|
|
19
|
+
// TODO: this is a hack.
|
|
20
|
+
return audio_analysis_gen_1.PBAudioAnalysis.decode(new Uint8Array());
|
|
21
|
+
},
|
|
22
|
+
jsonSchema: {
|
|
23
|
+
type: "object",
|
|
24
|
+
properties: {},
|
|
25
|
+
serializationType: "protocol-buffer",
|
|
26
|
+
protocolBuffer: "PBAudioAnalysis"
|
|
27
|
+
}
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AvatarLocomotionSettingsSchema = void 0;
|
|
4
|
+
const avatar_locomotion_settings_gen_1 = require("./pb/decentraland/sdk/components/avatar_locomotion_settings.gen");
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
exports.AvatarLocomotionSettingsSchema = {
|
|
9
|
+
COMPONENT_ID: 1211,
|
|
10
|
+
serialize(value, builder) {
|
|
11
|
+
const writer = avatar_locomotion_settings_gen_1.PBAvatarLocomotionSettings.encode(value);
|
|
12
|
+
const buffer = new Uint8Array(writer.finish(), 0, writer.len);
|
|
13
|
+
builder.writeBuffer(buffer, false);
|
|
14
|
+
},
|
|
15
|
+
deserialize(reader) {
|
|
16
|
+
return avatar_locomotion_settings_gen_1.PBAvatarLocomotionSettings.decode(reader.buffer(), reader.remainingBytes());
|
|
17
|
+
},
|
|
18
|
+
create() {
|
|
19
|
+
// TODO: this is a hack.
|
|
20
|
+
return avatar_locomotion_settings_gen_1.PBAvatarLocomotionSettings.decode(new Uint8Array());
|
|
21
|
+
},
|
|
22
|
+
jsonSchema: {
|
|
23
|
+
type: "object",
|
|
24
|
+
properties: {},
|
|
25
|
+
serializationType: "protocol-buffer",
|
|
26
|
+
protocolBuffer: "PBAvatarLocomotionSettings"
|
|
27
|
+
}
|
|
28
|
+
};
|
|
@@ -9,6 +9,7 @@ exports.coreComponentMappings = {
|
|
|
9
9
|
"core::Animator": 1042,
|
|
10
10
|
"core::AssetLoad": 1213,
|
|
11
11
|
"core::AssetLoadLoadingState": 1214,
|
|
12
|
+
"core::AudioAnalysis": 1212,
|
|
12
13
|
"core::AudioEvent": 1105,
|
|
13
14
|
"core::AudioSource": 1020,
|
|
14
15
|
"core::AudioStream": 1021,
|
|
@@ -16,6 +17,7 @@ exports.coreComponentMappings = {
|
|
|
16
17
|
"core::AvatarBase": 1087,
|
|
17
18
|
"core::AvatarEmoteCommand": 1088,
|
|
18
19
|
"core::AvatarEquippedData": 1091,
|
|
20
|
+
"core::AvatarLocomotionSettings": 1211,
|
|
19
21
|
"core::AvatarModifierArea": 1070,
|
|
20
22
|
"core::AvatarShape": 1080,
|
|
21
23
|
"core::Billboard": 1090,
|
|
@@ -2,6 +2,7 @@ import { LastWriteWinElementSetComponentDefinition, GrowOnlyValueSetComponentDef
|
|
|
2
2
|
export * from './index.gen';
|
|
3
3
|
import { PBAssetLoad } from './pb/decentraland/sdk/components/asset_load.gen';
|
|
4
4
|
import { PBAssetLoadLoadingState } from './pb/decentraland/sdk/components/asset_load_loading_state.gen';
|
|
5
|
+
import { PBAudioAnalysis } from './pb/decentraland/sdk/components/audio_analysis.gen';
|
|
5
6
|
import { PBAudioEvent } from './pb/decentraland/sdk/components/audio_event.gen';
|
|
6
7
|
import { PBAudioSource } from './pb/decentraland/sdk/components/audio_source.gen';
|
|
7
8
|
import { PBAudioStream } from './pb/decentraland/sdk/components/audio_stream.gen';
|
|
@@ -9,6 +10,7 @@ import { PBAvatarAttach } from './pb/decentraland/sdk/components/avatar_attach.g
|
|
|
9
10
|
import { PBAvatarBase } from './pb/decentraland/sdk/components/avatar_base.gen';
|
|
10
11
|
import { PBAvatarEmoteCommand } from './pb/decentraland/sdk/components/avatar_emote_command.gen';
|
|
11
12
|
import { PBAvatarEquippedData } from './pb/decentraland/sdk/components/avatar_equipped_data.gen';
|
|
13
|
+
import { PBAvatarLocomotionSettings } from './pb/decentraland/sdk/components/avatar_locomotion_settings.gen';
|
|
12
14
|
import { PBAvatarModifierArea } from './pb/decentraland/sdk/components/avatar_modifier_area.gen';
|
|
13
15
|
import { PBAvatarShape } from './pb/decentraland/sdk/components/avatar_shape.gen';
|
|
14
16
|
import { PBBillboard } from './pb/decentraland/sdk/components/billboard.gen';
|
|
@@ -53,6 +55,7 @@ import { PBVirtualCamera } from './pb/decentraland/sdk/components/virtual_camera
|
|
|
53
55
|
import { PBVisibilityComponent } from './pb/decentraland/sdk/components/visibility_component.gen';
|
|
54
56
|
/** @public */ export declare const AssetLoad: LastWriteWinElementSetComponentDefinition<PBAssetLoad>;
|
|
55
57
|
/** @public */ export declare const AssetLoadLoadingState: GrowOnlyValueSetComponentDefinition<PBAssetLoadLoadingState>;
|
|
58
|
+
/** @public */ export declare const AudioAnalysis: LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>;
|
|
56
59
|
/** @public */ export declare const AudioEvent: GrowOnlyValueSetComponentDefinition<PBAudioEvent>;
|
|
57
60
|
/** @public */ export declare const AudioSource: LastWriteWinElementSetComponentDefinition<PBAudioSource>;
|
|
58
61
|
/** @public */ export declare const AudioStream: LastWriteWinElementSetComponentDefinition<PBAudioStream>;
|
|
@@ -60,6 +63,7 @@ import { PBVisibilityComponent } from './pb/decentraland/sdk/components/visibili
|
|
|
60
63
|
/** @public */ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
|
|
61
64
|
/** @public */ export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
62
65
|
/** @public */ export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
66
|
+
/** @public */ export declare const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
|
|
63
67
|
/** @public */ export declare const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
|
64
68
|
/** @public */ export declare const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
|
|
65
69
|
/** @public */ export declare const Billboard: LastWriteWinElementSetComponentDefinition<PBBillboard>;
|
|
@@ -26,13 +26,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
exports.VisibilityComponent = void 0;
|
|
29
|
+
exports.VideoEvent = exports.UiTransform = exports.UiText = exports.UiInputResult = exports.UiInput = exports.UiDropdownResult = exports.UiDropdown = exports.UiCanvasInformation = exports.UiBackground = exports.TweenState = exports.TweenSequence = exports.TriggerAreaResult = exports.TriggerArea = exports.TextShape = exports.SkyboxTime = exports.RealmInfo = exports.RaycastResult = exports.Raycast = exports.PrimaryPointerInfo = exports.PointerLock = exports.PointerEventsResult = exports.PointerEvents = exports.PlayerIdentityData = exports.PhysicsCombinedImpulse = exports.PhysicsCombinedForce = exports.ParticleSystem = exports.NftShape = exports.MainCamera = exports.LightSource = exports.InputModifier = exports.GltfNodeModifiers = exports.GltfContainerLoadingState = exports.GltfContainer = exports.EngineInfo = exports.CameraModeArea = exports.CameraMode = exports.Billboard = exports.AvatarShape = exports.AvatarModifierArea = exports.AvatarLocomotionSettings = exports.AvatarEquippedData = exports.AvatarEmoteCommand = exports.AvatarBase = exports.AvatarAttach = exports.AudioStream = exports.AudioSource = exports.AudioEvent = exports.AudioAnalysis = exports.AssetLoadLoadingState = exports.AssetLoad = void 0;
|
|
30
|
+
exports.VisibilityComponent = exports.VirtualCamera = exports.VideoPlayer = void 0;
|
|
31
31
|
const initialization_1 = require("../../runtime/initialization");
|
|
32
32
|
const components = __importStar(require("./index.gen"));
|
|
33
33
|
__exportStar(require("./index.gen"), exports);
|
|
34
34
|
/** @public */ exports.AssetLoad = components.AssetLoad(initialization_1.engine);
|
|
35
35
|
/** @public */ exports.AssetLoadLoadingState = components.AssetLoadLoadingState(initialization_1.engine);
|
|
36
|
+
/** @public */ exports.AudioAnalysis = components.AudioAnalysis(initialization_1.engine);
|
|
36
37
|
/** @public */ exports.AudioEvent = components.AudioEvent(initialization_1.engine);
|
|
37
38
|
/** @public */ exports.AudioSource = components.AudioSource(initialization_1.engine);
|
|
38
39
|
/** @public */ exports.AudioStream = components.AudioStream(initialization_1.engine);
|
|
@@ -40,6 +41,7 @@ __exportStar(require("./index.gen"), exports);
|
|
|
40
41
|
/** @public */ exports.AvatarBase = components.AvatarBase(initialization_1.engine);
|
|
41
42
|
/** @public */ exports.AvatarEmoteCommand = components.AvatarEmoteCommand(initialization_1.engine);
|
|
42
43
|
/** @public */ exports.AvatarEquippedData = components.AvatarEquippedData(initialization_1.engine);
|
|
44
|
+
/** @public */ exports.AvatarLocomotionSettings = components.AvatarLocomotionSettings(initialization_1.engine);
|
|
43
45
|
/** @public */ exports.AvatarModifierArea = components.AvatarModifierArea(initialization_1.engine);
|
|
44
46
|
/** @public */ exports.AvatarShape = components.AvatarShape(initialization_1.engine);
|
|
45
47
|
/** @public */ exports.Billboard = components.Billboard(initialization_1.engine);
|
|
@@ -3,6 +3,7 @@ import { LastWriteWinElementSetComponentDefinition, GrowOnlyValueSetComponentDef
|
|
|
3
3
|
import { PBAnimator } from './pb/decentraland/sdk/components/animator.gen';
|
|
4
4
|
import { PBAssetLoad } from './pb/decentraland/sdk/components/asset_load.gen';
|
|
5
5
|
import { PBAssetLoadLoadingState } from './pb/decentraland/sdk/components/asset_load_loading_state.gen';
|
|
6
|
+
import { PBAudioAnalysis } from './pb/decentraland/sdk/components/audio_analysis.gen';
|
|
6
7
|
import { PBAudioEvent } from './pb/decentraland/sdk/components/audio_event.gen';
|
|
7
8
|
import { PBAudioSource } from './pb/decentraland/sdk/components/audio_source.gen';
|
|
8
9
|
import { PBAudioStream } from './pb/decentraland/sdk/components/audio_stream.gen';
|
|
@@ -10,6 +11,7 @@ import { PBAvatarAttach } from './pb/decentraland/sdk/components/avatar_attach.g
|
|
|
10
11
|
import { PBAvatarBase } from './pb/decentraland/sdk/components/avatar_base.gen';
|
|
11
12
|
import { PBAvatarEmoteCommand } from './pb/decentraland/sdk/components/avatar_emote_command.gen';
|
|
12
13
|
import { PBAvatarEquippedData } from './pb/decentraland/sdk/components/avatar_equipped_data.gen';
|
|
14
|
+
import { PBAvatarLocomotionSettings } from './pb/decentraland/sdk/components/avatar_locomotion_settings.gen';
|
|
13
15
|
import { PBAvatarModifierArea } from './pb/decentraland/sdk/components/avatar_modifier_area.gen';
|
|
14
16
|
import { PBAvatarShape } from './pb/decentraland/sdk/components/avatar_shape.gen';
|
|
15
17
|
import { PBBillboard } from './pb/decentraland/sdk/components/billboard.gen';
|
|
@@ -59,6 +61,7 @@ import { PBVisibilityComponent } from './pb/decentraland/sdk/components/visibili
|
|
|
59
61
|
export * from './pb/decentraland/sdk/components/animator.gen';
|
|
60
62
|
export * from './pb/decentraland/sdk/components/asset_load.gen';
|
|
61
63
|
export * from './pb/decentraland/sdk/components/asset_load_loading_state.gen';
|
|
64
|
+
export * from './pb/decentraland/sdk/components/audio_analysis.gen';
|
|
62
65
|
export * from './pb/decentraland/sdk/components/audio_event.gen';
|
|
63
66
|
export * from './pb/decentraland/sdk/components/audio_source.gen';
|
|
64
67
|
export * from './pb/decentraland/sdk/components/audio_stream.gen';
|
|
@@ -66,6 +69,7 @@ export * from './pb/decentraland/sdk/components/avatar_attach.gen';
|
|
|
66
69
|
export * from './pb/decentraland/sdk/components/avatar_base.gen';
|
|
67
70
|
export * from './pb/decentraland/sdk/components/avatar_emote_command.gen';
|
|
68
71
|
export * from './pb/decentraland/sdk/components/avatar_equipped_data.gen';
|
|
72
|
+
export * from './pb/decentraland/sdk/components/avatar_locomotion_settings.gen';
|
|
69
73
|
export * from './pb/decentraland/sdk/components/avatar_modifier_area.gen';
|
|
70
74
|
export * from './pb/decentraland/sdk/components/avatar_shape.gen';
|
|
71
75
|
export * from './pb/decentraland/sdk/components/billboard.gen';
|
|
@@ -117,6 +121,7 @@ export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<an
|
|
|
117
121
|
/** @public */ export declare const Animator: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAnimator>>;
|
|
118
122
|
/** @public */ export declare const AssetLoad: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAssetLoad>>;
|
|
119
123
|
/** @public */ export declare const AssetLoadLoadingState: GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAssetLoadLoadingState>>;
|
|
124
|
+
/** @public */ export declare const AudioAnalysis: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>>;
|
|
120
125
|
/** @public */ export declare const AudioEvent: GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAudioEvent>>;
|
|
121
126
|
/** @public */ export declare const AudioSource: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
|
|
122
127
|
/** @public */ export declare const AudioStream: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
|
|
@@ -124,6 +129,7 @@ export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<an
|
|
|
124
129
|
/** @public */ export declare const AvatarBase: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
|
|
125
130
|
/** @public */ export declare const AvatarEmoteCommand: GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
|
|
126
131
|
/** @public */ export declare const AvatarEquippedData: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
|
132
|
+
/** @public */ export declare const AvatarLocomotionSettings: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
|
|
127
133
|
/** @public */ export declare const AvatarModifierArea: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
128
134
|
/** @public */ export declare const AvatarShape: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
129
135
|
/** @public */ export declare const Billboard: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
@@ -175,6 +181,7 @@ export declare const componentDefinitionByName: {
|
|
|
175
181
|
"core::Animator": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAnimator>>;
|
|
176
182
|
"core::AssetLoad": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAssetLoad>>;
|
|
177
183
|
"core::AssetLoadLoadingState": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAssetLoadLoadingState>>;
|
|
184
|
+
"core::AudioAnalysis": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>>;
|
|
178
185
|
"core::AudioEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAudioEvent>>;
|
|
179
186
|
"core::AudioSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
|
|
180
187
|
"core::AudioStream": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
|
|
@@ -182,6 +189,7 @@ export declare const componentDefinitionByName: {
|
|
|
182
189
|
"core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
|
|
183
190
|
"core::AvatarEmoteCommand": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
|
|
184
191
|
"core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
|
192
|
+
"core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
|
|
185
193
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
186
194
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
187
195
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|