hilo3d 2.0.0-alpha.1 → 2.0.0-alpha.2
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 +36 -0
- package/dist/Hilo3d.d.ts +194 -6
- package/dist/Hilo3d.d.ts.map +1 -1
- package/dist/Hilo3d.js +5516 -5108
- package/dist/Hilo3d.js.map +1 -1
- package/dist/{web_naga-ButDylvO.js → web_naga-D4FbPGzE.js} +2 -2
- package/dist/{web_naga-ButDylvO.js.map → web_naga-D4FbPGzE.js.map} +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
# 2.0.0-alpha.2 (2026-07-26)
|
|
2
|
+
|
|
3
|
+
### Changes
|
|
4
|
+
|
|
5
|
+
- Add measured-width `Text2D` wrapping for mixed CJK/Latin content, max-line clipping and ellipsis,
|
|
6
|
+
baseline, paragraph spacing, and letter spacing. Add in-place Sprite source replacement,
|
|
7
|
+
material-only Sprite initialization, atlas-batched `SlicedSprite`, four-state `UiButton`, and
|
|
8
|
+
ImageGen-authored responsive text/nine-slice examples for WebGL 2 and WebGPU.
|
|
9
|
+
- Add Node-level `sortingLayer` and `zIndex` for Sprite/Text2D display order, retain stable
|
|
10
|
+
scene-tree order for ties, make pointer picking select the same topmost 2D node, and restrict
|
|
11
|
+
transparent instancing to adjacent compatible items so batching cannot reorder interleaved
|
|
12
|
+
textures. Document the independent top-left Camera2D and centered Sprite-anchor contracts, and add
|
|
13
|
+
an ImageGen-authored pixel-town example with A* walking, click-to-route interaction, and foot-Y
|
|
14
|
+
ordering across both backends.
|
|
15
|
+
- Lower the supported development and package runtime floor to Node.js 20.19.0, the shared minimum
|
|
16
|
+
accepted by Vite 8 and ESLint 10, and pin npm 10.9.4 so the declared package manager also runs on
|
|
17
|
+
Node 20.
|
|
18
|
+
|
|
19
|
+
### Fixes
|
|
20
|
+
|
|
21
|
+
- Correct `SpriteFrame`'s top-left atlas-row offset for `flipY` textures on both backends. Full
|
|
22
|
+
textures were unaffected, but subframes previously selected the vertically opposite source row,
|
|
23
|
+
swapping nine-slice top/bottom pieces and requiring reversed character-direction maps. Use a
|
|
24
|
+
strictly nine-slice-safe postal UI atlas with uniform stretchable edges and deterministically
|
|
25
|
+
mirrored corners/edge lighting.
|
|
26
|
+
- Expand the game-building skill's coordinate contract: Sprite positions target their anchor in the
|
|
27
|
+
parent local coordinate system, and the default center anchor does not become top-left merely
|
|
28
|
+
because Camera2D uses a top-left screen origin.
|
|
29
|
+
|
|
1
30
|
# 2.0.0-alpha.1 (2026-07-25)
|
|
2
31
|
|
|
3
32
|
### Breaking changes
|
|
@@ -37,6 +66,13 @@
|
|
|
37
66
|
- Redesign the examples gallery with categorized metadata, search, responsive navigation, accessible
|
|
38
67
|
controls, isolated per-example query parameters, source/direct links, loading states, and a shared
|
|
39
68
|
renderer statistics panel that reports the active WebGL 2 or WebGPU backend.
|
|
69
|
+
- Curate the gallery into focused Highlights and All Examples collections, replace generic
|
|
70
|
+
descriptions with capability-oriented copy, merge five primitive micro-pages into one visual
|
|
71
|
+
geometry lab, rename the two CanvasTexture demos, and remove obsolete OSG/SMD/TGA loaders,
|
|
72
|
+
duplicated Polly content, unused media, and the non-visual math fixture page.
|
|
73
|
+
- Refresh the shared example lighting and dark canvas treatment, and rebuild Quick Start, point
|
|
74
|
+
lights, instancing, and bloom around deterministic showcase scenes. Add an ImageGen-authored
|
|
75
|
+
graphite/cyan/violet showroom-floor texture used by the new scenes.
|
|
40
76
|
- Add renderer-local scriptable render pipelines through `RendererCommonOptions.renderPipeline`,
|
|
41
77
|
reusable `RenderPipelineFactory` configurations, frame-scoped culling/renderer-list handles, a
|
|
42
78
|
narrow `ScriptableRenderGraph`, retained pass-parameter pools, recovery-aware persistent targets,
|
package/dist/Hilo3d.d.ts
CHANGED
|
@@ -6230,6 +6230,14 @@ interface NodeParameters {
|
|
|
6230
6230
|
* camera's `visibility` mask.
|
|
6231
6231
|
*/
|
|
6232
6232
|
layer?: number;
|
|
6233
|
+
/**
|
|
6234
|
+
* Coarse 2D display layer. Higher values render later.
|
|
6235
|
+
*
|
|
6236
|
+
* This is independent from `layer`, which is a camera-visibility bit mask.
|
|
6237
|
+
*/
|
|
6238
|
+
sortingLayer?: number;
|
|
6239
|
+
/** Fine 2D display order within `sortingLayer`. Higher values render later. */
|
|
6240
|
+
zIndex?: number;
|
|
6233
6241
|
pointerEnabled?: boolean;
|
|
6234
6242
|
pointerChildren?: boolean;
|
|
6235
6243
|
useHandCursor?: boolean;
|
|
@@ -6343,6 +6351,8 @@ declare class Node extends EventDispatcher {
|
|
|
6343
6351
|
* `layer` controls per-camera collection for each renderable node.
|
|
6344
6352
|
*/
|
|
6345
6353
|
layer: number;
|
|
6354
|
+
private sortingLayerValue;
|
|
6355
|
+
private zIndexValue;
|
|
6346
6356
|
/**
|
|
6347
6357
|
* 可视对象是否接受交互事件。默认为接受交互事件,即true。
|
|
6348
6358
|
*/
|
|
@@ -6594,6 +6604,18 @@ declare class Node extends EventDispatcher {
|
|
|
6594
6604
|
* 位置
|
|
6595
6605
|
*/
|
|
6596
6606
|
get position(): Vector3Notifier;
|
|
6607
|
+
/**
|
|
6608
|
+
* Coarse 2D display layer. Higher values render later.
|
|
6609
|
+
*
|
|
6610
|
+
* Unlike `layer`, this value does not affect Camera visibility. Sprite and Text2D ordering is
|
|
6611
|
+
* stable for equal `sortingLayer` and `zIndex`, so scene-tree traversal order remains the final
|
|
6612
|
+
* tie breaker.
|
|
6613
|
+
*/
|
|
6614
|
+
get sortingLayer(): number;
|
|
6615
|
+
set sortingLayer(value: number);
|
|
6616
|
+
/** Fine 2D display order within `sortingLayer`. Higher values render later. */
|
|
6617
|
+
get zIndex(): number;
|
|
6618
|
+
set zIndex(value: number);
|
|
6597
6619
|
/**
|
|
6598
6620
|
* x轴坐标
|
|
6599
6621
|
*/
|
|
@@ -8680,9 +8702,9 @@ interface SpriteParameters extends Omit<MeshParameters, 'geometry' | 'material'
|
|
|
8680
8702
|
width?: number;
|
|
8681
8703
|
/** Logical display height. Defaults to the initial frame height. */
|
|
8682
8704
|
height?: number;
|
|
8683
|
-
/** Horizontal anchor in normalized local coordinates. */
|
|
8705
|
+
/** Horizontal anchor in normalized local coordinates. Defaults to the visual center (`0.5`). */
|
|
8684
8706
|
anchorX?: number;
|
|
8685
|
-
/** Vertical anchor in normalized local coordinates. */
|
|
8707
|
+
/** Vertical anchor in normalized local coordinates. Defaults to the visual center (`0.5`). */
|
|
8686
8708
|
anchorY?: number;
|
|
8687
8709
|
/** Per-instance color multiplier. */
|
|
8688
8710
|
tint?: Color;
|
|
@@ -8693,16 +8715,29 @@ interface SpriteParameters extends Omit<MeshParameters, 'geometry' | 'material'
|
|
|
8693
8715
|
/** Start sequence playback immediately when more than one frame exists. */
|
|
8694
8716
|
autoPlay?: boolean;
|
|
8695
8717
|
}
|
|
8718
|
+
interface SpriteFrameUpdateOptions {
|
|
8719
|
+
/** Resize the logical Sprite bounds to the new frame. Defaults to `false`. */
|
|
8720
|
+
resize?: boolean;
|
|
8721
|
+
}
|
|
8722
|
+
interface SpriteFramesUpdateOptions extends SpriteFrameUpdateOptions {
|
|
8723
|
+
/** Frame to display after replacement. Defaults to zero. */
|
|
8724
|
+
currentFrame?: number;
|
|
8725
|
+
/** Start playback after replacement. Defaults to `false`. */
|
|
8726
|
+
autoPlay?: boolean;
|
|
8727
|
+
}
|
|
8696
8728
|
/**
|
|
8697
8729
|
* Batched 2D sprite with atlas frames, per-instance tint/anchor/size, animation, and CPU hit tests.
|
|
8698
8730
|
*
|
|
8699
|
-
* Sprites use one shared quad geometry and opt into the renderer's portable instance path.
|
|
8700
|
-
*
|
|
8731
|
+
* Sprites use one shared quad geometry and opt into the renderer's portable instance path. They
|
|
8732
|
+
* render by Node `sortingLayer`, then `zIndex`, then stable scene-tree order. Adjacent Sprites using
|
|
8733
|
+
* the same SpriteMaterial are grouped into draws of at most 128 instances on both backends without
|
|
8734
|
+
* allowing batching to change that display order.
|
|
8701
8735
|
*/
|
|
8702
8736
|
declare class Sprite extends Mesh {
|
|
8703
8737
|
static readonly typeName: string;
|
|
8704
8738
|
readonly isSprite = true;
|
|
8705
8739
|
className: string;
|
|
8740
|
+
material: SpriteMaterial;
|
|
8706
8741
|
readonly frames: SpriteFrame[];
|
|
8707
8742
|
readonly tint: Color;
|
|
8708
8743
|
readonly spriteUVRect: Float32Array<ArrayBuffer>;
|
|
@@ -8743,11 +8778,99 @@ declare class Sprite extends Mesh {
|
|
|
8743
8778
|
* @param index - Integer frame index.
|
|
8744
8779
|
*/
|
|
8745
8780
|
gotoFrame(index: number): this;
|
|
8781
|
+
/**
|
|
8782
|
+
* Replace the complete texture and display it as one frame.
|
|
8783
|
+
* @param texture - New complete-frame texture.
|
|
8784
|
+
* @param options - Optional logical-size update.
|
|
8785
|
+
*/
|
|
8786
|
+
setTexture(texture: Texture, options?: SpriteFrameUpdateOptions): this;
|
|
8787
|
+
/**
|
|
8788
|
+
* Replace the active source with one atlas frame.
|
|
8789
|
+
* @param frame - New frame.
|
|
8790
|
+
* @param options - Optional logical-size update.
|
|
8791
|
+
*/
|
|
8792
|
+
setFrame(frame: SpriteFrame, options?: SpriteFrameUpdateOptions): this;
|
|
8793
|
+
/**
|
|
8794
|
+
* Replace the animation sequence without recreating the Sprite.
|
|
8795
|
+
*
|
|
8796
|
+
* Existing UV, size, and tint arrays are mutated in place so renderer-side instance storage
|
|
8797
|
+
* remains reusable.
|
|
8798
|
+
* @param frames - Non-empty replacement sequence.
|
|
8799
|
+
* @param options - Initial frame, playback, and resize behavior.
|
|
8800
|
+
*/
|
|
8801
|
+
setFrames(frames: readonly SpriteFrame[], options?: SpriteFramesUpdateOptions): this;
|
|
8746
8802
|
update(dt: number): void;
|
|
8747
8803
|
raycast(ray: Ray, _sort?: boolean): Vector3[] | null;
|
|
8748
8804
|
private applyFrame;
|
|
8749
8805
|
}
|
|
8750
8806
|
|
|
8807
|
+
interface SlicedSpriteInsets {
|
|
8808
|
+
/** Fixed source pixels at the left edge. */
|
|
8809
|
+
left: number;
|
|
8810
|
+
/** Fixed source pixels at the right edge. */
|
|
8811
|
+
right: number;
|
|
8812
|
+
/** Fixed source pixels at the top edge. */
|
|
8813
|
+
top: number;
|
|
8814
|
+
/** Fixed source pixels at the bottom edge. */
|
|
8815
|
+
bottom: number;
|
|
8816
|
+
}
|
|
8817
|
+
interface SlicedSpriteParameters extends NodeParameters {
|
|
8818
|
+
/** Source atlas frame. */
|
|
8819
|
+
frame?: SpriteFrame;
|
|
8820
|
+
/** Complete source texture shorthand. */
|
|
8821
|
+
texture?: Texture;
|
|
8822
|
+
/** Fixed corner and edge sizes in source pixels. */
|
|
8823
|
+
insets: SlicedSpriteInsets;
|
|
8824
|
+
/** Logical display width. Defaults to the source frame width. */
|
|
8825
|
+
width?: number;
|
|
8826
|
+
/** Logical display height. Defaults to the source frame height. */
|
|
8827
|
+
height?: number;
|
|
8828
|
+
/** Horizontal normalized anchor. Defaults to zero. */
|
|
8829
|
+
anchorX?: number;
|
|
8830
|
+
/** Vertical normalized anchor. Defaults to zero. */
|
|
8831
|
+
anchorY?: number;
|
|
8832
|
+
}
|
|
8833
|
+
/**
|
|
8834
|
+
* Nine-slice panel that preserves source corners while stretching edges and center.
|
|
8835
|
+
*
|
|
8836
|
+
* The nine child Sprites share one atlas material and remain adjacent, allowing the normal Sprite
|
|
8837
|
+
* batcher to submit the panel as one instanced draw when display ordering permits.
|
|
8838
|
+
*/
|
|
8839
|
+
declare class SlicedSprite extends Node {
|
|
8840
|
+
static readonly typeName: string;
|
|
8841
|
+
readonly isSlicedSprite = true;
|
|
8842
|
+
className: string;
|
|
8843
|
+
readonly insets: Readonly<SlicedSpriteInsets>;
|
|
8844
|
+
readonly parts: readonly Sprite[];
|
|
8845
|
+
private readonly frameSlices;
|
|
8846
|
+
private frameValue;
|
|
8847
|
+
private widthValue;
|
|
8848
|
+
private heightValue;
|
|
8849
|
+
private anchorXValue;
|
|
8850
|
+
private anchorYValue;
|
|
8851
|
+
constructor(params: SlicedSpriteParameters);
|
|
8852
|
+
/** Active source atlas frame. */
|
|
8853
|
+
get frame(): SpriteFrame;
|
|
8854
|
+
/** Logical panel width. */
|
|
8855
|
+
get width(): number;
|
|
8856
|
+
set width(value: number);
|
|
8857
|
+
/** Logical panel height. */
|
|
8858
|
+
get height(): number;
|
|
8859
|
+
set height(value: number);
|
|
8860
|
+
/** Horizontal normalized anchor. */
|
|
8861
|
+
get anchorX(): number;
|
|
8862
|
+
set anchorX(value: number);
|
|
8863
|
+
/** Vertical normalized anchor. */
|
|
8864
|
+
get anchorY(): number;
|
|
8865
|
+
set anchorY(value: number);
|
|
8866
|
+
/** Resize the logical panel while preserving fixed corners. */
|
|
8867
|
+
setSize(width: number, height: number): this;
|
|
8868
|
+
/** Replace the atlas frame without recreating panel nodes or batch instance arrays. */
|
|
8869
|
+
setFrame(frame: SpriteFrame): this;
|
|
8870
|
+
private createFrames;
|
|
8871
|
+
private layoutParts;
|
|
8872
|
+
}
|
|
8873
|
+
|
|
8751
8874
|
interface Text2DStyle {
|
|
8752
8875
|
/** CSS canvas font string. */
|
|
8753
8876
|
font?: string;
|
|
@@ -8763,6 +8886,20 @@ interface Text2DStyle {
|
|
|
8763
8886
|
padding?: number;
|
|
8764
8887
|
/** Explicit logical line height. */
|
|
8765
8888
|
lineHeight?: number;
|
|
8889
|
+
/** Maximum content width in logical pixels. Zero disables width constraints. */
|
|
8890
|
+
maxWidth?: number;
|
|
8891
|
+
/** Automatically wrap measured words and CJK characters at `maxWidth`. */
|
|
8892
|
+
wordWrap?: boolean;
|
|
8893
|
+
/** Behavior when content exceeds `maxWidth` or `maxLines`. */
|
|
8894
|
+
overflow?: 'visible' | 'clip' | 'ellipsis';
|
|
8895
|
+
/** Maximum rendered lines. Zero allows any number of lines. */
|
|
8896
|
+
maxLines?: number;
|
|
8897
|
+
/** Canvas text baseline used inside each logical line box. */
|
|
8898
|
+
textBaseline?: CanvasTextBaseline;
|
|
8899
|
+
/** Additional space after explicit newline-separated paragraphs. */
|
|
8900
|
+
paragraphSpacing?: number;
|
|
8901
|
+
/** Additional space between Unicode characters in logical pixels. */
|
|
8902
|
+
letterSpacing?: number;
|
|
8766
8903
|
/** Canvas backing pixels per logical sprite pixel. */
|
|
8767
8904
|
resolution?: number;
|
|
8768
8905
|
}
|
|
@@ -8799,6 +8936,57 @@ declare class Text2D extends Sprite {
|
|
|
8799
8936
|
private replaceRaster;
|
|
8800
8937
|
}
|
|
8801
8938
|
|
|
8939
|
+
type UiButtonState = 'up' | 'hover' | 'down' | 'disabled';
|
|
8940
|
+
interface UiButtonFrames {
|
|
8941
|
+
/** Default button frame. */
|
|
8942
|
+
up: SpriteFrame;
|
|
8943
|
+
/** Pointer-hover frame. Defaults to `up`. */
|
|
8944
|
+
hover?: SpriteFrame;
|
|
8945
|
+
/** Pressed frame. Defaults to `hover`. */
|
|
8946
|
+
down?: SpriteFrame;
|
|
8947
|
+
/** Disabled frame. Defaults to `up`. */
|
|
8948
|
+
disabled?: SpriteFrame;
|
|
8949
|
+
}
|
|
8950
|
+
interface UiButtonParameters extends Omit<SlicedSpriteParameters, 'frame' | 'texture'> {
|
|
8951
|
+
/** Per-state nine-slice atlas frames. */
|
|
8952
|
+
frames: UiButtonFrames;
|
|
8953
|
+
/** Optional centered label. */
|
|
8954
|
+
label?: string;
|
|
8955
|
+
/** Canvas text style for the label. */
|
|
8956
|
+
labelStyle?: Text2DStyle;
|
|
8957
|
+
/** Initial enabled state. Defaults to `true`. */
|
|
8958
|
+
enabled?: boolean;
|
|
8959
|
+
}
|
|
8960
|
+
/**
|
|
8961
|
+
* Nine-slice game UI button with hover, press, disabled, label, and click event support.
|
|
8962
|
+
*
|
|
8963
|
+
* Applications enable the desired pointer event types once through `Stage.enableDOMEvent()`.
|
|
8964
|
+
*/
|
|
8965
|
+
declare class UiButton extends SlicedSprite {
|
|
8966
|
+
static readonly typeName: string;
|
|
8967
|
+
readonly isUiButton = true;
|
|
8968
|
+
className: string;
|
|
8969
|
+
readonly label: Text2D;
|
|
8970
|
+
readonly frames: Readonly<UiButtonFrames>;
|
|
8971
|
+
private enabledValue;
|
|
8972
|
+
private stateValue;
|
|
8973
|
+
constructor(params: UiButtonParameters);
|
|
8974
|
+
/** Whether pointer interaction is enabled. */
|
|
8975
|
+
get enabled(): boolean;
|
|
8976
|
+
/** Current visual state. */
|
|
8977
|
+
get state(): UiButtonState;
|
|
8978
|
+
/** Enable or disable interaction and update the visual frame. */
|
|
8979
|
+
setEnabled(enabled: boolean): this;
|
|
8980
|
+
/** Replace the centered label text. */
|
|
8981
|
+
setLabel(text: string): this;
|
|
8982
|
+
setSize(width: number, height: number): this;
|
|
8983
|
+
private readonly handlePointerOver;
|
|
8984
|
+
private readonly handlePointerOut;
|
|
8985
|
+
private readonly handlePointerDown;
|
|
8986
|
+
private readonly handlePointerUp;
|
|
8987
|
+
private updateState;
|
|
8988
|
+
}
|
|
8989
|
+
|
|
8802
8990
|
/** Sample interpretation supported by whole-subresource compute graph textures. */
|
|
8803
8991
|
type ComputeTextureSampleType = 'float' | 'unfilterable-float' | 'depth';
|
|
8804
8992
|
/** Compute graph textures currently expose one complete two-dimensional subresource. */
|
|
@@ -13117,6 +13305,6 @@ declare const math: {
|
|
|
13117
13305
|
nextPowerOfTwo(value: number): number;
|
|
13118
13306
|
};
|
|
13119
13307
|
|
|
13120
|
-
export { AmbientLight, Animation, AnimationStates, AreaLight, AxisHelper, AxisNetHelper, BUILTIN_UNIFORM_BLOCK_BINDING_COUNT, BasicLoader, BasicMaterial, BoxGeometry, Cache, Camera, Camera2D, CameraHelper, Color, ComputeKernel, ComputeRenderPass, ComputeSampler, ComputeShader, CubeTexture, CubeTextureLoader, DEFAULT_2D_LAYER, DataTexture, DirectionalLight, Euler, EulerNotifier, EventDispatcher, Fog, ForwardRenderPipelineFactory, Frustum, FullscreenRenderPass, GLTFExtensions_d as GLTFExtensions, GLTFLoader, GLTFParser, GPUDrivenRenderPass, Geometry, GeometryData, GeometryMaterial, HDRLoader, HiloEvent, KTXLoader, LazyTexture, Light, LightManager, LoadCache, LoadQueue, LoadState, Loader, LogLevel, Logger, Material, Matrix3, Matrix4, Matrix4Notifier, Mesh, MeshPicker, MorphGeometry, Node, OrthographicCamera, PBRMaterial, PerspectiveCamera, Plane, PlaneGeometry, PointLight, PresentRenderPass, Quaternion, QuaternionNotifier, Ray, RenderInfo, RenderPassParameterPool, Renderer, SCENE_STORAGE_BIND_GROUP, STATE_TYPES, SceneRenderPass, Shader, ShaderMaterial, ShaderMaterialLoader, ShadowRenderPass, Skeleton, SkinnedMesh, Sphere, SphereGeometry, SphericalHarmonics3, SpotLight, Sprite, SpriteFrame, SpriteMaterial, Stage, Std140Layout, StorageGraphicsShader, StorageLayout, Text2D, Texture, TextureCopyPass, TextureLoader, Ticker, Tween, UNIFORM_BLOCK_BINDINGS, UniformBuffer, Vector2, Vector3, Vector3Notifier, Vector4, WebGLSupport, browser, collectionEntries, constants, createEmptyGLTFRoot, createStd140Layout, createStorageLayout, detectBrowserFeatures, detectWebGLSupport, Hilo as engineConstants, getCollectionItem, getUniformBlockBinding, isArrayCollection, isGLTFRoot, log, math, parseRadianceHDR, registerUniformBlockBinding, semantic, util_d as util, version, webgl2 as webgl2Constants, webgl as webglConstants, webglExtensions as webglExtensionConstants };
|
|
13121
|
-
export type { AccessorArray, AmbientLightParameters, AnimationClip, AnimationInterpolationType, AnimationParameters, AnimationStateHandler, AnimationStateType, AnimationStatesParameters, AnimationTimeRange, AreaLightInfo, AreaLightParameters, AxisAlignedBox, AxisHelperParameters, AxisNetHelperParameters, BackEaseObject, BasicLightType, BasicLoadRequest, BasicLoaderResource, BasicMaterialParameters, BasicResource, BasicResourceType, Bounds, BoxGeometryParameters, BrowserFeatures, BuiltInAnimationStateType, Camera2DParameters, CameraHelperParameters, CameraParameters, ComputeBufferBinding, ComputeDispatch, ComputeKernelDescriptor, ComputePipelineConstant, ComputeRenderPassParameters, ComputeSamplerAddressMode, ComputeSamplerDescriptor, ComputeSamplerFilterMode, ComputeShaderBinding, ComputeShaderDescriptor, ComputeStorageBufferAccess, ComputeStorageTextureFormat, ComputeStorageTextureViewDimension, ComputeTextureBinding, ComputeTextureSampleType, ComputeTextureViewDimension, ComputeUniformBufferBinding, CubeTextureImage, CubeTextureLoadRequest, CubeTextureParameters, CullingOptions, CullingResultsHandle, CustomRenderOptionProvider, DataTextureParameters, DirectionalLightInfo, DirectionalLightParameters, DispatchEvent, ElasticEaseObject, EulerOrder, EventListener, FogMode, FogParameters, ForwardRenderFeatureContext, ForwardRenderFeatureRequirements, ForwardRenderInjectionPoint, ForwardRenderPipelineFactoryOptions, ForwardRenderPipelineFeature, ForwardRenderPipelineFeatureRuntime, ForwardRenderPipelineResources, FullscreenRenderPassOptions, FullscreenRenderPassParameters, GLTFAccessor, GLTFAccessorResult, GLTFAccessorType, GLTFAnimation, GLTFAnimationChannel, GLTFAnimationClipsExtension, GLTFAnimationSampler, GLTFAnimationTarget, GLTFAsset, GLTFBoundingBoxExtension, GLTFBounds, GLTFBuffer, GLTFBufferView, GLTFBufferViewRuntime, GLTFCamera, GLTFClearcoatExtension, GLTFCollection, GLTFComponentType, GLTFExtensionHandler, GLTFExtensionHandlerRegistry, GLTFExtensionMap, GLTFExtensionMethodName, GLTFExtensionOptions, GLTFImage, GLTFIndex, GLTFLoadRequest, GLTFMaterial, GLTFMaterialValue, GLTFMaterialsCommonExtension, GLTFMesh, GLTFModel, GLTFMorphTarget, GLTFNode, GLTFOrthographicCamera, GLTFPBRMetallicRoughness, GLTFPBRSpecularGlossinessExtension, GLTFParserParameters, GLTFPerspectiveCamera, GLTFPrimitive, GLTFProgram, GLTFProgressivePrimitiveState, GLTFProperty, GLTFPunctualLight, GLTFPunctualLightNodeExtension, GLTFPunctualLightsExtension, GLTFPunctualSpotLight, GLTFQuantizedAttributesExtension, GLTFResourceLoader, GLTFRoot, GLTFSampler, GLTFScene, GLTFShader, GLTFSkin, GLTFSparseAccessor, GLTFSparseIndices, GLTFSparseValues, GLTFTechnique, GLTFTechniqueBinding, GLTFTechniqueStates, GLTFTexture, GLTFTextureInfo, GLTFTextureTransformExtension, GPUDrivenDraw, GPUDrivenRenderPassOptions, GPUDrivenRenderPassParameters, GPUDrivenVertexAttribute, GPUDrivenVertexBufferLayout, GPUDrivenVertexFormat, GeometryAttributeValue, GeometryComponentSize, GeometryDataComponentCallback, GeometryDataLike, GeometryDataParameters, GeometryDataTraverseCallback, GeometryMaterialParameters, GeometryParameters, GeometryVertexType, HDRLoadRequest, ImageCrossOrigin, InstancedUniform, InterpolatedValue, InterpolationFunction, JsonPrimitive, JsonValue, KTXLoadRequest, KTXTextureOptions, LazyTextureParameters, LightGroupName, LightInfo, LightManagerParameters, LightParameters, LightShadowOptions, ListenerEntry, ListenerMap, LoadCacheFile, LoadQueueItem, LoadQueueSource, LoadStateValue, LoaderRequest, LoaderTextureOptions, LogLevelValue, MaterialBeforeCompile, MaterialBinding, MaterialBindingInfo, MaterialBindingMap, MaterialParameters, MaterialShaderSource, MaterialTexture, MaterialTextureValue, MeshParameters, MeshPickerParameters, MorphGeometryParameters, MorphTargets, MutableArrayLike, MutableNumberArray, NetworkResourceType, NodeGetChildByCallback, NodeParameters, NodePointerEvent, NodeRaycastInfo, NodeTraverseCallback, NodeTraverseResult, NormalizedComputeWorkgroupSize, OrthographicCameraParameters, PBRMaterialParameters, PerspectiveCameraParameters, PlaneGeometryParameters, Point2, Point3, PointLightInfo, PointLightParameters, PointLightShadowOptions, PointShadowCameraParameters, ProgramBindingInfo, RadianceHDRImage, RayCamera, RayParameters, RenderGraphBufferHandle, RenderGraphBufferReadUse, RenderGraphBufferWriteUse, RenderGraphFramePlan, RenderGraphPassHandle, RenderGraphTextureHandle, RenderPassParameterFactory, RenderPassParameterReset, RenderPipeline, RenderPipelineBufferDescriptor, RenderPipelineCapabilities, RenderPipelineCapabilityName, RenderPipelineColorAttachment, RenderPipelineContext, RenderPipelineCreateContext, RenderPipelineDepthStencilAttachment, RenderPipelineExtent, RenderPipelineFactory, RenderPipelineLimits, RenderPipelineOutput, RenderPipelineOutputColorAttachment, RenderPipelineOutputDepthStencilAttachment, RenderPipelineOutputResources, RenderPipelinePersistentTargetDescriptor, RenderPipelineRequirements, RenderPipelineTargetResources, RenderPipelineTextureDescriptor, RenderPipelineTextureRequirement, RenderPipelineTextureUse, RenderTarget, RenderTargetColor, RenderTargetColorAttachmentOptions, RenderTargetColorAttachmentReadback, RenderTargetColorFormat, RenderTargetCompareFunction, RenderTargetDepthStencilAttachmentOptions, RenderTargetDepthStencilFormat, RenderTargetLoadOp, RenderTargetParameters, RenderTargetReadColorAttachmentOptions, RenderTargetSampleCount, RenderTargetSelectionOptions, RenderTargetStoreOp, RendererAdapterPowerPreference, RendererAutoOptions, RendererBackend, RendererCommonOptions, RendererContextPowerPreference, RendererContract, RendererCreateOptions, RendererExplicitOptions, RendererFeatureName, RendererFrame, RendererFrameCallback, RendererListDescriptor, RendererListHandle, RendererListQueue, RendererListSorting, RendererOptions, RendererOptionsMap, RendererResourceDiagnostics, RendererResourceManager, RendererScene, RendererSupportOptions, RendererViewport, RendererWebGL2Options, RendererWebGPUOptions, ResizableTextureImage, Resource, ResourceLoader, ResourceLoaderConstructor, ResourceRequestOptions, SceneRenderPassParameters, SceneStorageBufferBinding, SceneStorageShaderVariant, ScriptableRenderCommands, ScriptableRenderGraph, ScriptableRenderPass, ScriptableRenderPassBuilder, ScriptableRenderPassContext, ScriptableRenderPrepareContext, SemanticMaterial, SemanticMesh, SemanticRenderer, ShaderDefineValue, ShaderMaterialLoadRequest, ShaderMaterialParameters, ShaderOptions, ShaderParameters, ShaderPrecision, ShaderPrecisionProvider, ShaderReadBinding, ShaderRenderer, ShaderTextureSampleType, ShaderTextureViewDimension, ShadowCameraParameters, ShadowCastingLightParameters, ShadowRenderPassParameters, Size, SkeletonParameters, SkinnedMeshParameters, SphereGeometryParameters, SpotLightInfo, SpotLightParameters, SpriteFrameParameters, SpriteMaterialParameters, SpriteParameters, StageBackend, StageBackendParameters, StageCommonParameters, StageParameters, StagePointerEvent, Std140ArrayValue, Std140FieldDefinition, Std140FieldLayout, Std140FieldValue, Std140MatrixType, Std140ScalarType, Std140Schema, Std140Type, Std140Value, Std140Values, Std140VectorType, StorageArrayDefinition, StorageBuffer, StorageBufferDescriptor, StorageBufferRange, StorageBufferReadback, StorageBufferRecoveryPolicy, StorageBufferUsage, StorageFieldLayout, StorageGraphicsShaderDescriptor, StorageMatrixType, StoragePrimitiveType, StoragePrimitiveValue, StorageScalarType, StorageSchema, StorageStructDefinition, StorageType, StorageValue, StorageValues, StorageVectorType, StorageWriteResult, SubDataUpdate, Text2DParameters, Text2DStyle, TextureBinding, TextureCompressionFormat, TextureCopyPassParameters, TextureCubeFace, TextureImageSource, TextureLoadRequest, TextureMipmap, TextureParameters, TexturePixelData, TextureSource, TextureSubImage, TextureUVChannel, TextureUpdateSnapshot, Tickable, Triangle, TweenCompleteCallback, TweenEaseCollection, TweenEaseFunction, TweenEaseNoneObject, TweenEaseObject, TweenParameters, TweenProperties, TweenStartCallback, TweenUpdateCallback, TypedArray$1 as TypedArray, TypedArrayConstructor$1 as TypedArrayConstructor, UV, UniformBufferDirtyRange, UniformBufferRange, XYZObject };
|
|
13308
|
+
export { AmbientLight, Animation, AnimationStates, AreaLight, AxisHelper, AxisNetHelper, BUILTIN_UNIFORM_BLOCK_BINDING_COUNT, BasicLoader, BasicMaterial, BoxGeometry, Cache, Camera, Camera2D, CameraHelper, Color, ComputeKernel, ComputeRenderPass, ComputeSampler, ComputeShader, CubeTexture, CubeTextureLoader, DEFAULT_2D_LAYER, DataTexture, DirectionalLight, Euler, EulerNotifier, EventDispatcher, Fog, ForwardRenderPipelineFactory, Frustum, FullscreenRenderPass, GLTFExtensions_d as GLTFExtensions, GLTFLoader, GLTFParser, GPUDrivenRenderPass, Geometry, GeometryData, GeometryMaterial, HDRLoader, HiloEvent, KTXLoader, LazyTexture, Light, LightManager, LoadCache, LoadQueue, LoadState, Loader, LogLevel, Logger, Material, Matrix3, Matrix4, Matrix4Notifier, Mesh, MeshPicker, MorphGeometry, Node, OrthographicCamera, PBRMaterial, PerspectiveCamera, Plane, PlaneGeometry, PointLight, PresentRenderPass, Quaternion, QuaternionNotifier, Ray, RenderInfo, RenderPassParameterPool, Renderer, SCENE_STORAGE_BIND_GROUP, STATE_TYPES, SceneRenderPass, Shader, ShaderMaterial, ShaderMaterialLoader, ShadowRenderPass, Skeleton, SkinnedMesh, SlicedSprite, Sphere, SphereGeometry, SphericalHarmonics3, SpotLight, Sprite, SpriteFrame, SpriteMaterial, Stage, Std140Layout, StorageGraphicsShader, StorageLayout, Text2D, Texture, TextureCopyPass, TextureLoader, Ticker, Tween, UNIFORM_BLOCK_BINDINGS, UiButton, UniformBuffer, Vector2, Vector3, Vector3Notifier, Vector4, WebGLSupport, browser, collectionEntries, constants, createEmptyGLTFRoot, createStd140Layout, createStorageLayout, detectBrowserFeatures, detectWebGLSupport, Hilo as engineConstants, getCollectionItem, getUniformBlockBinding, isArrayCollection, isGLTFRoot, log, math, parseRadianceHDR, registerUniformBlockBinding, semantic, util_d as util, version, webgl2 as webgl2Constants, webgl as webglConstants, webglExtensions as webglExtensionConstants };
|
|
13309
|
+
export type { AccessorArray, AmbientLightParameters, AnimationClip, AnimationInterpolationType, AnimationParameters, AnimationStateHandler, AnimationStateType, AnimationStatesParameters, AnimationTimeRange, AreaLightInfo, AreaLightParameters, AxisAlignedBox, AxisHelperParameters, AxisNetHelperParameters, BackEaseObject, BasicLightType, BasicLoadRequest, BasicLoaderResource, BasicMaterialParameters, BasicResource, BasicResourceType, Bounds, BoxGeometryParameters, BrowserFeatures, BuiltInAnimationStateType, Camera2DParameters, CameraHelperParameters, CameraParameters, ComputeBufferBinding, ComputeDispatch, ComputeKernelDescriptor, ComputePipelineConstant, ComputeRenderPassParameters, ComputeSamplerAddressMode, ComputeSamplerDescriptor, ComputeSamplerFilterMode, ComputeShaderBinding, ComputeShaderDescriptor, ComputeStorageBufferAccess, ComputeStorageTextureFormat, ComputeStorageTextureViewDimension, ComputeTextureBinding, ComputeTextureSampleType, ComputeTextureViewDimension, ComputeUniformBufferBinding, CubeTextureImage, CubeTextureLoadRequest, CubeTextureParameters, CullingOptions, CullingResultsHandle, CustomRenderOptionProvider, DataTextureParameters, DirectionalLightInfo, DirectionalLightParameters, DispatchEvent, ElasticEaseObject, EulerOrder, EventListener, FogMode, FogParameters, ForwardRenderFeatureContext, ForwardRenderFeatureRequirements, ForwardRenderInjectionPoint, ForwardRenderPipelineFactoryOptions, ForwardRenderPipelineFeature, ForwardRenderPipelineFeatureRuntime, ForwardRenderPipelineResources, FullscreenRenderPassOptions, FullscreenRenderPassParameters, GLTFAccessor, GLTFAccessorResult, GLTFAccessorType, GLTFAnimation, GLTFAnimationChannel, GLTFAnimationClipsExtension, GLTFAnimationSampler, GLTFAnimationTarget, GLTFAsset, GLTFBoundingBoxExtension, GLTFBounds, GLTFBuffer, GLTFBufferView, GLTFBufferViewRuntime, GLTFCamera, GLTFClearcoatExtension, GLTFCollection, GLTFComponentType, GLTFExtensionHandler, GLTFExtensionHandlerRegistry, GLTFExtensionMap, GLTFExtensionMethodName, GLTFExtensionOptions, GLTFImage, GLTFIndex, GLTFLoadRequest, GLTFMaterial, GLTFMaterialValue, GLTFMaterialsCommonExtension, GLTFMesh, GLTFModel, GLTFMorphTarget, GLTFNode, GLTFOrthographicCamera, GLTFPBRMetallicRoughness, GLTFPBRSpecularGlossinessExtension, GLTFParserParameters, GLTFPerspectiveCamera, GLTFPrimitive, GLTFProgram, GLTFProgressivePrimitiveState, GLTFProperty, GLTFPunctualLight, GLTFPunctualLightNodeExtension, GLTFPunctualLightsExtension, GLTFPunctualSpotLight, GLTFQuantizedAttributesExtension, GLTFResourceLoader, GLTFRoot, GLTFSampler, GLTFScene, GLTFShader, GLTFSkin, GLTFSparseAccessor, GLTFSparseIndices, GLTFSparseValues, GLTFTechnique, GLTFTechniqueBinding, GLTFTechniqueStates, GLTFTexture, GLTFTextureInfo, GLTFTextureTransformExtension, GPUDrivenDraw, GPUDrivenRenderPassOptions, GPUDrivenRenderPassParameters, GPUDrivenVertexAttribute, GPUDrivenVertexBufferLayout, GPUDrivenVertexFormat, GeometryAttributeValue, GeometryComponentSize, GeometryDataComponentCallback, GeometryDataLike, GeometryDataParameters, GeometryDataTraverseCallback, GeometryMaterialParameters, GeometryParameters, GeometryVertexType, HDRLoadRequest, ImageCrossOrigin, InstancedUniform, InterpolatedValue, InterpolationFunction, JsonPrimitive, JsonValue, KTXLoadRequest, KTXTextureOptions, LazyTextureParameters, LightGroupName, LightInfo, LightManagerParameters, LightParameters, LightShadowOptions, ListenerEntry, ListenerMap, LoadCacheFile, LoadQueueItem, LoadQueueSource, LoadStateValue, LoaderRequest, LoaderTextureOptions, LogLevelValue, MaterialBeforeCompile, MaterialBinding, MaterialBindingInfo, MaterialBindingMap, MaterialParameters, MaterialShaderSource, MaterialTexture, MaterialTextureValue, MeshParameters, MeshPickerParameters, MorphGeometryParameters, MorphTargets, MutableArrayLike, MutableNumberArray, NetworkResourceType, NodeGetChildByCallback, NodeParameters, NodePointerEvent, NodeRaycastInfo, NodeTraverseCallback, NodeTraverseResult, NormalizedComputeWorkgroupSize, OrthographicCameraParameters, PBRMaterialParameters, PerspectiveCameraParameters, PlaneGeometryParameters, Point2, Point3, PointLightInfo, PointLightParameters, PointLightShadowOptions, PointShadowCameraParameters, ProgramBindingInfo, RadianceHDRImage, RayCamera, RayParameters, RenderGraphBufferHandle, RenderGraphBufferReadUse, RenderGraphBufferWriteUse, RenderGraphFramePlan, RenderGraphPassHandle, RenderGraphTextureHandle, RenderPassParameterFactory, RenderPassParameterReset, RenderPipeline, RenderPipelineBufferDescriptor, RenderPipelineCapabilities, RenderPipelineCapabilityName, RenderPipelineColorAttachment, RenderPipelineContext, RenderPipelineCreateContext, RenderPipelineDepthStencilAttachment, RenderPipelineExtent, RenderPipelineFactory, RenderPipelineLimits, RenderPipelineOutput, RenderPipelineOutputColorAttachment, RenderPipelineOutputDepthStencilAttachment, RenderPipelineOutputResources, RenderPipelinePersistentTargetDescriptor, RenderPipelineRequirements, RenderPipelineTargetResources, RenderPipelineTextureDescriptor, RenderPipelineTextureRequirement, RenderPipelineTextureUse, RenderTarget, RenderTargetColor, RenderTargetColorAttachmentOptions, RenderTargetColorAttachmentReadback, RenderTargetColorFormat, RenderTargetCompareFunction, RenderTargetDepthStencilAttachmentOptions, RenderTargetDepthStencilFormat, RenderTargetLoadOp, RenderTargetParameters, RenderTargetReadColorAttachmentOptions, RenderTargetSampleCount, RenderTargetSelectionOptions, RenderTargetStoreOp, RendererAdapterPowerPreference, RendererAutoOptions, RendererBackend, RendererCommonOptions, RendererContextPowerPreference, RendererContract, RendererCreateOptions, RendererExplicitOptions, RendererFeatureName, RendererFrame, RendererFrameCallback, RendererListDescriptor, RendererListHandle, RendererListQueue, RendererListSorting, RendererOptions, RendererOptionsMap, RendererResourceDiagnostics, RendererResourceManager, RendererScene, RendererSupportOptions, RendererViewport, RendererWebGL2Options, RendererWebGPUOptions, ResizableTextureImage, Resource, ResourceLoader, ResourceLoaderConstructor, ResourceRequestOptions, SceneRenderPassParameters, SceneStorageBufferBinding, SceneStorageShaderVariant, ScriptableRenderCommands, ScriptableRenderGraph, ScriptableRenderPass, ScriptableRenderPassBuilder, ScriptableRenderPassContext, ScriptableRenderPrepareContext, SemanticMaterial, SemanticMesh, SemanticRenderer, ShaderDefineValue, ShaderMaterialLoadRequest, ShaderMaterialParameters, ShaderOptions, ShaderParameters, ShaderPrecision, ShaderPrecisionProvider, ShaderReadBinding, ShaderRenderer, ShaderTextureSampleType, ShaderTextureViewDimension, ShadowCameraParameters, ShadowCastingLightParameters, ShadowRenderPassParameters, Size, SkeletonParameters, SkinnedMeshParameters, SlicedSpriteInsets, SlicedSpriteParameters, SphereGeometryParameters, SpotLightInfo, SpotLightParameters, SpriteFrameParameters, SpriteFrameUpdateOptions, SpriteFramesUpdateOptions, SpriteMaterialParameters, SpriteParameters, StageBackend, StageBackendParameters, StageCommonParameters, StageParameters, StagePointerEvent, Std140ArrayValue, Std140FieldDefinition, Std140FieldLayout, Std140FieldValue, Std140MatrixType, Std140ScalarType, Std140Schema, Std140Type, Std140Value, Std140Values, Std140VectorType, StorageArrayDefinition, StorageBuffer, StorageBufferDescriptor, StorageBufferRange, StorageBufferReadback, StorageBufferRecoveryPolicy, StorageBufferUsage, StorageFieldLayout, StorageGraphicsShaderDescriptor, StorageMatrixType, StoragePrimitiveType, StoragePrimitiveValue, StorageScalarType, StorageSchema, StorageStructDefinition, StorageType, StorageValue, StorageValues, StorageVectorType, StorageWriteResult, SubDataUpdate, Text2DParameters, Text2DStyle, TextureBinding, TextureCompressionFormat, TextureCopyPassParameters, TextureCubeFace, TextureImageSource, TextureLoadRequest, TextureMipmap, TextureParameters, TexturePixelData, TextureSource, TextureSubImage, TextureUVChannel, TextureUpdateSnapshot, Tickable, Triangle, TweenCompleteCallback, TweenEaseCollection, TweenEaseFunction, TweenEaseNoneObject, TweenEaseObject, TweenParameters, TweenProperties, TweenStartCallback, TweenUpdateCallback, TypedArray$1 as TypedArray, TypedArrayConstructor$1 as TypedArrayConstructor, UV, UiButtonFrames, UiButtonParameters, UiButtonState, UniformBufferDirtyRange, UniformBufferRange, XYZObject };
|
|
13122
13310
|
//# sourceMappingURL=Hilo3d.d.ts.map
|