@silentstatestudio/perseon 0.0.0-stage → 0.1.0
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/CHANGELOG.md +192 -0
- package/LICENSE.md +30 -0
- package/README.md +848 -2
- package/dist/authoring/index.cjs +213 -0
- package/dist/authoring/index.d.cts +866 -0
- package/dist/authoring/index.d.ts +866 -0
- package/dist/authoring/index.js +214 -0
- package/dist/authoring/index.js.map +1 -0
- package/dist/chunk-GDXCMDJ6.js +5462 -0
- package/dist/chunk-GDXCMDJ6.js.map +1 -0
- package/dist/chunk-ON4JV4BI.js +8432 -0
- package/dist/chunk-ON4JV4BI.js.map +1 -0
- package/dist/chunk-PT7F7TTB.cjs +8431 -0
- package/dist/chunk-Q2HLLGJ7.cjs +5461 -0
- package/dist/chunk-SVI6WUOB.js +1 -0
- package/dist/chunk-SVI6WUOB.js.map +1 -0
- package/dist/chunk-ZIMCQTYK.cjs +1 -0
- package/dist/colors-CUEeQ78V.d.cts +2247 -0
- package/dist/colors-pshUJaKB.d.ts +2247 -0
- package/dist/core/index.cjs +29 -0
- package/dist/core/index.d.cts +39 -0
- package/dist/core/index.d.ts +39 -0
- package/dist/core/index.js +30 -0
- package/dist/core/index.js.map +1 -0
- package/dist/index.cjs +29 -0
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +30 -0
- package/dist/index.js.map +1 -0
- package/dist/pixi-v7/index.cjs +513 -0
- package/dist/pixi-v7/index.d.cts +372 -0
- package/dist/pixi-v7/index.d.ts +372 -0
- package/dist/pixi-v7/index.js +514 -0
- package/dist/pixi-v7/index.js.map +1 -0
- package/dist/pixi-v8/index.cjs +608 -0
- package/dist/pixi-v8/index.d.cts +380 -0
- package/dist/pixi-v8/index.d.ts +380 -0
- package/dist/pixi-v8/index.js +609 -0
- package/dist/pixi-v8/index.js.map +1 -0
- package/dist/rendering-DeUo1BsK.d.cts +237 -0
- package/dist/rendering-DeUo1BsK.d.ts +237 -0
- package/dist/testing/index.cjs +159 -0
- package/dist/testing/index.d.cts +85 -0
- package/dist/testing/index.d.ts +85 -0
- package/dist/testing/index.js +160 -0
- package/dist/testing/index.js.map +1 -0
- package/package.json +148 -6
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-ZIMCQTYK.cjs');
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
var _chunkPT7F7TTBcjs = require('../chunk-PT7F7TTB.cjs');
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
var _chunkQ2HLLGJ7cjs = require('../chunk-Q2HLLGJ7.cjs');
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
exports.Emitter = _chunkPT7F7TTBcjs.EmitterView; exports.LocalDefaultHandle = _chunkPT7F7TTBcjs.LocalDefaultHandle; exports.LocalParameterHandle = _chunkPT7F7TTBcjs.LocalParameterHandle; exports.ParameterHandle = _chunkPT7F7TTBcjs.ParameterHandle; exports.ParticleItem = _chunkPT7F7TTBcjs.ParticleItem; exports.ParticleLayer = _chunkPT7F7TTBcjs.ParticleLayerView; exports.PerseonAnimation = _chunkPT7F7TTBcjs.PerseonAnimation; exports.PerseonConfigError = _chunkQ2HLLGJ7cjs.PerseonConfigError; exports.PerseonIntegration = _chunkPT7F7TTBcjs.PerseonIntegration; exports.PerseonPlayback = _chunkPT7F7TTBcjs.PerseonPlayback; exports.parseAnimationOptions = _chunkPT7F7TTBcjs.parseAnimationOptions;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { a2 as ParticleAnimationOptions } from '../colors-CUEeQ78V.cjs';
|
|
2
|
+
export { A as AnimationDescription, a as AnimationPlayOptions, b as AnimationRandomnessOptions, C as CapacityOptions, c as CapsuleArea, d as CircleArea, e as ColorGradientDefinition, f as ColorOptions, g as ColorRandomRange, h as ColorStop, i as CurveDefinition, j as CustomParameterOption, k as CustomParameterSampleScope, l as CustomParameterType, m as CustomParameterValue, D as DiagnosticsPolicy, E as EmissionOptions, n as EmissionTransform, o as Emitter, p as EmitterEventBinding, q as EmitterEventBindings, r as EmitterEventTrigger, s as EmitterEventsByTrigger, t as EmitterOptionPath, u as EmitterOptionType, v as EmitterOptions, w as EventTrigger, x as ExternalForcesFactorOptions, y as ExternalForcesForEmitterUse, z as ExternalForcesOptions, B as ExternalForcesTypes, G as GlobalParameterOption, I as InitialStateOptions, K as KineticsOptions, L as LayerOptionPath, F as LayerOptionType, H as LocalDefaultHandle, J as LocalParameterHandle, M as ModifierBlendMode, N as ModulatableNumber, O as ModulatedValue, Q as ModulatorOptions, R as ModulatorShape, S as NumberOptions, T as NumericDomain, U as OptionNodeKind, V as OptionStage, W as OptionStrategy, X as ParameterDescription, Y as ParameterHandle, Z as ParameterInitOptions, _ as ParameterLinkRelation, $ as ParameterModifier, a0 as ParameterModifierSource, a1 as ParameterUpdateOptions, a3 as ParticleEventBinding, a4 as ParticleEventBindings, a5 as ParticleEventTrigger, a6 as ParticleEventsByTrigger, a7 as ParticleHookEmitter, a8 as ParticleHookPlayback, a9 as ParticleHookRandom, aa as ParticleItem, ab as ParticleLayer, ac as ParticleLayerOptions, ad as ParticleLimitStrategy, ae as ParticleRegionRef, af as ParticleSnapshot, ag as ParticleSnapshotObject, ah as ParticleSpawnStrategy, ai as ParticleSpriteAnimationParameters, aj as PerformanceOptions, ak as PerseonAnimation, al as PerseonEvent, P as PerseonIntegration, am as PerseonPlayback, an as PlaybackFinishedReason, ao as PlaybackFinishedResult, ap as PlaybackHost, aq as PlaybackOptionPath, ar as PlaybackOptionType, as as PlaybackOptions, at as PointForceConfig, au as PointForceFalloff, av as PointForceMode, aw as PointValue, ax as PolygonArea, ay as ProbabilityCurveKind, az as ProbabilityCurvePreset, aA as ProbabilityCurvePresetId, aB as RandomListState, aC as RandomValueList, aD as RandomValueListMode, aE as RandomValueRange, aF as RandomnessOptions, aG as RandomnessSeedMode, aH as RectangleArea, aI as RegionBehavior, aJ as RegionOptions, aK as RingArea, aL as ScaleOptions, aM as ShapeArea, aN as SingleTextureOption, aO as SpawnColor, aP as SpawnNumber, aQ as SpawnPoint, aR as SpawnPosition, aS as SpawnVector, aT as SpriteAnimationOptions, aU as SpriteAnimationTexturesOptions, aV as TextDomain, aW as TextureElement, aX as Unsubscribe, aY as ValueProbability, aZ as VectorValue } from '../colors-CUEeQ78V.cjs';
|
|
3
|
+
export { B as BlendModeSupport, I as IParticleGroup, a as IParticleGroupOptions, b as IParticleVisualState, d as IRenderNode, c as IRenderRootNode, f as IRenderer, h as IRendererCapabilities, i as IShape, g as ITextureRef, e as ITicker, P as ParticleBlendMode } from '../rendering-DeUo1BsK.cjs';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Turn the contents of an animation file into a typed `ParticleAnimationOptions`.
|
|
7
|
+
*
|
|
8
|
+
* Scope is deliberately narrow: this covers the mistakes that belong to *file
|
|
9
|
+
* loading* — the payload is not an object, it is of another format version
|
|
10
|
+
* (checked before anything else), it declares no emitters, or it
|
|
11
|
+
* smuggles in live objects that cannot survive a round-trip through JSON. It
|
|
12
|
+
* does NOT re-validate the animation's contents, because creating the
|
|
13
|
+
* animation (or a playback built by hand) already validates the whole tree,
|
|
14
|
+
* each emitter included, with precise, path-qualified messages. Duplicating that here would mean two error surfaces drifting apart.
|
|
15
|
+
*
|
|
16
|
+
* So the contract is: parse tells you whether you have an animation file at all, and
|
|
17
|
+
* construction tells you whether the animation is valid.
|
|
18
|
+
*
|
|
19
|
+
* Throws `PerseonConfigError` on a malformed payload, with the `path` of the
|
|
20
|
+
* offending part of the file (`'parseAnimationOptions'` when it is the file as a
|
|
21
|
+
* whole). It extends `Error`, so a caller that catches `Error` keeps working.
|
|
22
|
+
*/
|
|
23
|
+
declare const parseAnimationOptions: (input: unknown) => ParticleAnimationOptions;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* A configuration Perseon refuses: what the load asserts
|
|
27
|
+
* throw on a config they reject, and what `set` throws on a node config. The
|
|
28
|
+
* message says what is wrong and, where there are any, the valid alternatives;
|
|
29
|
+
* `path` says where, as the message names it (`'regions.water.area'`,
|
|
30
|
+
* `"ParticleAnimationOptions.localParameters['a']"`), so a caller can tell the
|
|
31
|
+
* node apart without parsing the text.
|
|
32
|
+
*/
|
|
33
|
+
declare class PerseonConfigError extends Error {
|
|
34
|
+
/** Where the config failed: the node, or the field inside it. */
|
|
35
|
+
readonly path: string;
|
|
36
|
+
constructor(message: string, path: string, options?: ErrorOptions);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { ParticleAnimationOptions, PerseonConfigError, parseAnimationOptions };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { a2 as ParticleAnimationOptions } from '../colors-pshUJaKB.js';
|
|
2
|
+
export { A as AnimationDescription, a as AnimationPlayOptions, b as AnimationRandomnessOptions, C as CapacityOptions, c as CapsuleArea, d as CircleArea, e as ColorGradientDefinition, f as ColorOptions, g as ColorRandomRange, h as ColorStop, i as CurveDefinition, j as CustomParameterOption, k as CustomParameterSampleScope, l as CustomParameterType, m as CustomParameterValue, D as DiagnosticsPolicy, E as EmissionOptions, n as EmissionTransform, o as Emitter, p as EmitterEventBinding, q as EmitterEventBindings, r as EmitterEventTrigger, s as EmitterEventsByTrigger, t as EmitterOptionPath, u as EmitterOptionType, v as EmitterOptions, w as EventTrigger, x as ExternalForcesFactorOptions, y as ExternalForcesForEmitterUse, z as ExternalForcesOptions, B as ExternalForcesTypes, G as GlobalParameterOption, I as InitialStateOptions, K as KineticsOptions, L as LayerOptionPath, F as LayerOptionType, H as LocalDefaultHandle, J as LocalParameterHandle, M as ModifierBlendMode, N as ModulatableNumber, O as ModulatedValue, Q as ModulatorOptions, R as ModulatorShape, S as NumberOptions, T as NumericDomain, U as OptionNodeKind, V as OptionStage, W as OptionStrategy, X as ParameterDescription, Y as ParameterHandle, Z as ParameterInitOptions, _ as ParameterLinkRelation, $ as ParameterModifier, a0 as ParameterModifierSource, a1 as ParameterUpdateOptions, a3 as ParticleEventBinding, a4 as ParticleEventBindings, a5 as ParticleEventTrigger, a6 as ParticleEventsByTrigger, a7 as ParticleHookEmitter, a8 as ParticleHookPlayback, a9 as ParticleHookRandom, aa as ParticleItem, ab as ParticleLayer, ac as ParticleLayerOptions, ad as ParticleLimitStrategy, ae as ParticleRegionRef, af as ParticleSnapshot, ag as ParticleSnapshotObject, ah as ParticleSpawnStrategy, ai as ParticleSpriteAnimationParameters, aj as PerformanceOptions, ak as PerseonAnimation, al as PerseonEvent, P as PerseonIntegration, am as PerseonPlayback, an as PlaybackFinishedReason, ao as PlaybackFinishedResult, ap as PlaybackHost, aq as PlaybackOptionPath, ar as PlaybackOptionType, as as PlaybackOptions, at as PointForceConfig, au as PointForceFalloff, av as PointForceMode, aw as PointValue, ax as PolygonArea, ay as ProbabilityCurveKind, az as ProbabilityCurvePreset, aA as ProbabilityCurvePresetId, aB as RandomListState, aC as RandomValueList, aD as RandomValueListMode, aE as RandomValueRange, aF as RandomnessOptions, aG as RandomnessSeedMode, aH as RectangleArea, aI as RegionBehavior, aJ as RegionOptions, aK as RingArea, aL as ScaleOptions, aM as ShapeArea, aN as SingleTextureOption, aO as SpawnColor, aP as SpawnNumber, aQ as SpawnPoint, aR as SpawnPosition, aS as SpawnVector, aT as SpriteAnimationOptions, aU as SpriteAnimationTexturesOptions, aV as TextDomain, aW as TextureElement, aX as Unsubscribe, aY as ValueProbability, aZ as VectorValue } from '../colors-pshUJaKB.js';
|
|
3
|
+
export { B as BlendModeSupport, I as IParticleGroup, a as IParticleGroupOptions, b as IParticleVisualState, d as IRenderNode, c as IRenderRootNode, f as IRenderer, h as IRendererCapabilities, i as IShape, g as ITextureRef, e as ITicker, P as ParticleBlendMode } from '../rendering-DeUo1BsK.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Turn the contents of an animation file into a typed `ParticleAnimationOptions`.
|
|
7
|
+
*
|
|
8
|
+
* Scope is deliberately narrow: this covers the mistakes that belong to *file
|
|
9
|
+
* loading* — the payload is not an object, it is of another format version
|
|
10
|
+
* (checked before anything else), it declares no emitters, or it
|
|
11
|
+
* smuggles in live objects that cannot survive a round-trip through JSON. It
|
|
12
|
+
* does NOT re-validate the animation's contents, because creating the
|
|
13
|
+
* animation (or a playback built by hand) already validates the whole tree,
|
|
14
|
+
* each emitter included, with precise, path-qualified messages. Duplicating that here would mean two error surfaces drifting apart.
|
|
15
|
+
*
|
|
16
|
+
* So the contract is: parse tells you whether you have an animation file at all, and
|
|
17
|
+
* construction tells you whether the animation is valid.
|
|
18
|
+
*
|
|
19
|
+
* Throws `PerseonConfigError` on a malformed payload, with the `path` of the
|
|
20
|
+
* offending part of the file (`'parseAnimationOptions'` when it is the file as a
|
|
21
|
+
* whole). It extends `Error`, so a caller that catches `Error` keeps working.
|
|
22
|
+
*/
|
|
23
|
+
declare const parseAnimationOptions: (input: unknown) => ParticleAnimationOptions;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* A configuration Perseon refuses: what the load asserts
|
|
27
|
+
* throw on a config they reject, and what `set` throws on a node config. The
|
|
28
|
+
* message says what is wrong and, where there are any, the valid alternatives;
|
|
29
|
+
* `path` says where, as the message names it (`'regions.water.area'`,
|
|
30
|
+
* `"ParticleAnimationOptions.localParameters['a']"`), so a caller can tell the
|
|
31
|
+
* node apart without parsing the text.
|
|
32
|
+
*/
|
|
33
|
+
declare class PerseonConfigError extends Error {
|
|
34
|
+
/** Where the config failed: the node, or the field inside it. */
|
|
35
|
+
readonly path: string;
|
|
36
|
+
constructor(message: string, path: string, options?: ErrorOptions);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { ParticleAnimationOptions, PerseonConfigError, parseAnimationOptions };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import "../chunk-SVI6WUOB.js";
|
|
2
|
+
import {
|
|
3
|
+
EmitterView,
|
|
4
|
+
LocalDefaultHandle,
|
|
5
|
+
LocalParameterHandle,
|
|
6
|
+
ParameterHandle,
|
|
7
|
+
ParticleItem,
|
|
8
|
+
ParticleLayerView,
|
|
9
|
+
PerseonAnimation,
|
|
10
|
+
PerseonIntegration,
|
|
11
|
+
PerseonPlayback,
|
|
12
|
+
parseAnimationOptions
|
|
13
|
+
} from "../chunk-ON4JV4BI.js";
|
|
14
|
+
import {
|
|
15
|
+
PerseonConfigError
|
|
16
|
+
} from "../chunk-GDXCMDJ6.js";
|
|
17
|
+
export {
|
|
18
|
+
EmitterView as Emitter,
|
|
19
|
+
LocalDefaultHandle,
|
|
20
|
+
LocalParameterHandle,
|
|
21
|
+
ParameterHandle,
|
|
22
|
+
ParticleItem,
|
|
23
|
+
ParticleLayerView as ParticleLayer,
|
|
24
|
+
PerseonAnimation,
|
|
25
|
+
PerseonConfigError,
|
|
26
|
+
PerseonIntegration,
|
|
27
|
+
PerseonPlayback,
|
|
28
|
+
parseAnimationOptions
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"mappings":"","names":[]}
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-ZIMCQTYK.cjs');
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
var _chunkPT7F7TTBcjs = require('./chunk-PT7F7TTB.cjs');
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
var _chunkQ2HLLGJ7cjs = require('./chunk-Q2HLLGJ7.cjs');
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
exports.Emitter = _chunkPT7F7TTBcjs.EmitterView; exports.LocalDefaultHandle = _chunkPT7F7TTBcjs.LocalDefaultHandle; exports.LocalParameterHandle = _chunkPT7F7TTBcjs.LocalParameterHandle; exports.ParameterHandle = _chunkPT7F7TTBcjs.ParameterHandle; exports.ParticleItem = _chunkPT7F7TTBcjs.ParticleItem; exports.ParticleLayer = _chunkPT7F7TTBcjs.ParticleLayerView; exports.PerseonAnimation = _chunkPT7F7TTBcjs.PerseonAnimation; exports.PerseonConfigError = _chunkQ2HLLGJ7cjs.PerseonConfigError; exports.PerseonIntegration = _chunkPT7F7TTBcjs.PerseonIntegration; exports.PerseonPlayback = _chunkPT7F7TTBcjs.PerseonPlayback; exports.parseAnimationOptions = _chunkPT7F7TTBcjs.parseAnimationOptions;
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { A as AnimationDescription, a as AnimationPlayOptions, b as AnimationRandomnessOptions, C as CapacityOptions, c as CapsuleArea, d as CircleArea, e as ColorGradientDefinition, f as ColorOptions, g as ColorRandomRange, h as ColorStop, i as CurveDefinition, j as CustomParameterOption, k as CustomParameterSampleScope, l as CustomParameterType, m as CustomParameterValue, D as DiagnosticsPolicy, E as EmissionOptions, n as EmissionTransform, o as Emitter, p as EmitterEventBinding, q as EmitterEventBindings, r as EmitterEventTrigger, s as EmitterEventsByTrigger, t as EmitterOptionPath, u as EmitterOptionType, v as EmitterOptions, w as EventTrigger, x as ExternalForcesFactorOptions, y as ExternalForcesForEmitterUse, z as ExternalForcesOptions, B as ExternalForcesTypes, G as GlobalParameterOption, I as InitialStateOptions, K as KineticsOptions, L as LayerOptionPath, F as LayerOptionType, H as LocalDefaultHandle, J as LocalParameterHandle, M as ModifierBlendMode, N as ModulatableNumber, O as ModulatedValue, Q as ModulatorOptions, R as ModulatorShape, S as NumberOptions, T as NumericDomain, U as OptionNodeKind, V as OptionStage, W as OptionStrategy, X as ParameterDescription, Y as ParameterHandle, Z as ParameterInitOptions, _ as ParameterLinkRelation, $ as ParameterModifier, a0 as ParameterModifierSource, a1 as ParameterUpdateOptions, a2 as ParticleAnimationOptions, a3 as ParticleEventBinding, a4 as ParticleEventBindings, a5 as ParticleEventTrigger, a6 as ParticleEventsByTrigger, a7 as ParticleHookEmitter, a8 as ParticleHookPlayback, a9 as ParticleHookRandom, aa as ParticleItem, ab as ParticleLayer, ac as ParticleLayerOptions, ad as ParticleLimitStrategy, ae as ParticleRegionRef, af as ParticleSnapshot, ag as ParticleSnapshotObject, ah as ParticleSpawnStrategy, ai as ParticleSpriteAnimationParameters, aj as PerformanceOptions, ak as PerseonAnimation, al as PerseonEvent, P as PerseonIntegration, am as PerseonPlayback, an as PlaybackFinishedReason, ao as PlaybackFinishedResult, ap as PlaybackHost, aq as PlaybackOptionPath, ar as PlaybackOptionType, as as PlaybackOptions, at as PointForceConfig, au as PointForceFalloff, av as PointForceMode, aw as PointValue, ax as PolygonArea, ay as ProbabilityCurveKind, az as ProbabilityCurvePreset, aA as ProbabilityCurvePresetId, aB as RandomListState, aC as RandomValueList, aD as RandomValueListMode, aE as RandomValueRange, aF as RandomnessOptions, aG as RandomnessSeedMode, aH as RectangleArea, aI as RegionBehavior, aJ as RegionOptions, aK as RingArea, aL as ScaleOptions, aM as ShapeArea, aN as SingleTextureOption, aO as SpawnColor, aP as SpawnNumber, aQ as SpawnPoint, aR as SpawnPosition, aS as SpawnVector, aT as SpriteAnimationOptions, aU as SpriteAnimationTexturesOptions, aV as TextDomain, aW as TextureElement, aX as Unsubscribe, aY as ValueProbability, aZ as VectorValue } from './colors-CUEeQ78V.cjs';
|
|
2
|
+
export { B as BlendModeSupport, I as IParticleGroup, a as IParticleGroupOptions, b as IParticleVisualState, d as IRenderNode, c as IRenderRootNode, f as IRenderer, h as IRendererCapabilities, i as IShape, g as ITextureRef, e as ITicker, P as ParticleBlendMode } from './rendering-DeUo1BsK.cjs';
|
|
3
|
+
export { PerseonConfigError, parseAnimationOptions } from './core/index.cjs';
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { A as AnimationDescription, a as AnimationPlayOptions, b as AnimationRandomnessOptions, C as CapacityOptions, c as CapsuleArea, d as CircleArea, e as ColorGradientDefinition, f as ColorOptions, g as ColorRandomRange, h as ColorStop, i as CurveDefinition, j as CustomParameterOption, k as CustomParameterSampleScope, l as CustomParameterType, m as CustomParameterValue, D as DiagnosticsPolicy, E as EmissionOptions, n as EmissionTransform, o as Emitter, p as EmitterEventBinding, q as EmitterEventBindings, r as EmitterEventTrigger, s as EmitterEventsByTrigger, t as EmitterOptionPath, u as EmitterOptionType, v as EmitterOptions, w as EventTrigger, x as ExternalForcesFactorOptions, y as ExternalForcesForEmitterUse, z as ExternalForcesOptions, B as ExternalForcesTypes, G as GlobalParameterOption, I as InitialStateOptions, K as KineticsOptions, L as LayerOptionPath, F as LayerOptionType, H as LocalDefaultHandle, J as LocalParameterHandle, M as ModifierBlendMode, N as ModulatableNumber, O as ModulatedValue, Q as ModulatorOptions, R as ModulatorShape, S as NumberOptions, T as NumericDomain, U as OptionNodeKind, V as OptionStage, W as OptionStrategy, X as ParameterDescription, Y as ParameterHandle, Z as ParameterInitOptions, _ as ParameterLinkRelation, $ as ParameterModifier, a0 as ParameterModifierSource, a1 as ParameterUpdateOptions, a2 as ParticleAnimationOptions, a3 as ParticleEventBinding, a4 as ParticleEventBindings, a5 as ParticleEventTrigger, a6 as ParticleEventsByTrigger, a7 as ParticleHookEmitter, a8 as ParticleHookPlayback, a9 as ParticleHookRandom, aa as ParticleItem, ab as ParticleLayer, ac as ParticleLayerOptions, ad as ParticleLimitStrategy, ae as ParticleRegionRef, af as ParticleSnapshot, ag as ParticleSnapshotObject, ah as ParticleSpawnStrategy, ai as ParticleSpriteAnimationParameters, aj as PerformanceOptions, ak as PerseonAnimation, al as PerseonEvent, P as PerseonIntegration, am as PerseonPlayback, an as PlaybackFinishedReason, ao as PlaybackFinishedResult, ap as PlaybackHost, aq as PlaybackOptionPath, ar as PlaybackOptionType, as as PlaybackOptions, at as PointForceConfig, au as PointForceFalloff, av as PointForceMode, aw as PointValue, ax as PolygonArea, ay as ProbabilityCurveKind, az as ProbabilityCurvePreset, aA as ProbabilityCurvePresetId, aB as RandomListState, aC as RandomValueList, aD as RandomValueListMode, aE as RandomValueRange, aF as RandomnessOptions, aG as RandomnessSeedMode, aH as RectangleArea, aI as RegionBehavior, aJ as RegionOptions, aK as RingArea, aL as ScaleOptions, aM as ShapeArea, aN as SingleTextureOption, aO as SpawnColor, aP as SpawnNumber, aQ as SpawnPoint, aR as SpawnPosition, aS as SpawnVector, aT as SpriteAnimationOptions, aU as SpriteAnimationTexturesOptions, aV as TextDomain, aW as TextureElement, aX as Unsubscribe, aY as ValueProbability, aZ as VectorValue } from './colors-pshUJaKB.js';
|
|
2
|
+
export { B as BlendModeSupport, I as IParticleGroup, a as IParticleGroupOptions, b as IParticleVisualState, d as IRenderNode, c as IRenderRootNode, f as IRenderer, h as IRendererCapabilities, i as IShape, g as ITextureRef, e as ITicker, P as ParticleBlendMode } from './rendering-DeUo1BsK.js';
|
|
3
|
+
export { PerseonConfigError, parseAnimationOptions } from './core/index.js';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import "./chunk-SVI6WUOB.js";
|
|
2
|
+
import {
|
|
3
|
+
EmitterView,
|
|
4
|
+
LocalDefaultHandle,
|
|
5
|
+
LocalParameterHandle,
|
|
6
|
+
ParameterHandle,
|
|
7
|
+
ParticleItem,
|
|
8
|
+
ParticleLayerView,
|
|
9
|
+
PerseonAnimation,
|
|
10
|
+
PerseonIntegration,
|
|
11
|
+
PerseonPlayback,
|
|
12
|
+
parseAnimationOptions
|
|
13
|
+
} from "./chunk-ON4JV4BI.js";
|
|
14
|
+
import {
|
|
15
|
+
PerseonConfigError
|
|
16
|
+
} from "./chunk-GDXCMDJ6.js";
|
|
17
|
+
export {
|
|
18
|
+
EmitterView as Emitter,
|
|
19
|
+
LocalDefaultHandle,
|
|
20
|
+
LocalParameterHandle,
|
|
21
|
+
ParameterHandle,
|
|
22
|
+
ParticleItem,
|
|
23
|
+
ParticleLayerView as ParticleLayer,
|
|
24
|
+
PerseonAnimation,
|
|
25
|
+
PerseonConfigError,
|
|
26
|
+
PerseonIntegration,
|
|
27
|
+
PerseonPlayback,
|
|
28
|
+
parseAnimationOptions
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"mappings":"","names":[]}
|