API

TypeDoc API reference generated from renderer exports.

Core

Class MeshBasicMaterial new MeshBasicMaterial(Parameter p: any): MeshBasicMaterial

Core.MeshBasicMaterial exported from @manycore/aholo-viewer.

Class MeshPhongMaterial new MeshPhongMaterial(Parameter p: any): MeshPhongMaterial

Core.MeshPhongMaterial exported from @manycore/aholo-viewer.

Class SpriteMaterial new SpriteMaterial(Parameter p: any): SpriteMaterial

Core.SpriteMaterial exported from @manycore/aholo-viewer.

Interface IBasicBackgroundConfig interface IBasicBackgroundConfig

Core.IBasicBackgroundConfig exported from @manycore/aholo-viewer.

Interface IEnvMapBackgroundConfig interface IEnvMapBackgroundConfig

Core.IEnvMapBackgroundConfig exported from @manycore/aholo-viewer.

Interface IGradientBackgroundConfig interface IGradientBackgroundConfig

Core.IGradientBackgroundConfig exported from @manycore/aholo-viewer.

Interface ISkyBackgroundConfig interface ISkyBackgroundConfig

Core.ISkyBackgroundConfig exported from @manycore/aholo-viewer.

Interface IBackgroundPluginConfig interface IBackgroundPluginConfig

Core.IBackgroundPluginConfig exported from @manycore/aholo-viewer.

Interface ICompositePluginConfig interface ICompositePluginConfig

Core.ICompositePluginConfig exported from @manycore/aholo-viewer.

Interface ISplattingPluginConfig interface ISplattingPluginConfig

Core.ISplattingPluginConfig exported from @manycore/aholo-viewer.

Interface ITaaPluginConfig interface ITaaPluginConfig

Core.ITaaPluginConfig exported from @manycore/aholo-viewer.

Interface IPipelineConfig interface IPipelineConfig

Core.IPipelineConfig exported from @manycore/aholo-viewer.

Interface IViewerConfig interface IViewerConfig

Core.IViewerConfig exported from @manycore/aholo-viewer.

Function downloadTexture downloadTexture(Parameter url: string): Promise<SourceTexture>

Core.downloadTexture exported from @manycore/aholo-viewer.

Function createViewer createViewer(Parameter name: string, Parameter container: HTMLElement, Parameter config: EngineInitializeConfig): Viewer

Core.createViewer exported from @manycore/aholo-viewer.

Function setViewerConfig setViewerConfig(Parameter ctx: Viewer | Viewport, Parameter config: IViewerConfig): void

Core.setViewerConfig exported from @manycore/aholo-viewer.

Interface Viewer interface Viewer

This class is used to set up the configuration and canvas for RenderEngine. It also contains instance of grid-like ground, background and Coordinate System.

Interface IViewerContext interface IViewerContext

Core.IViewerContext exported from @manycore/aholo-viewer.

Function createViewerContext createViewerContext(Parameter viewer: Viewer, Parameter viewport: Viewport): IViewerContext

Core.createViewerContext exported from @manycore/aholo-viewer.

Interface Viewport interface Viewport

Core.Viewport exported from @manycore/aholo-viewer.

Class BufferAttribute new BufferAttribute(Parameter array: T, Parameter itemSize: number): BufferAttribute<T>

This class stores data for an attribute (such as vertex positions, face indices, normals, colors, UVs, and any custom attributes ) associated with a BufferGeometry, which allows for more efficient passing of data to the GPU. See that page for details and a usage example.<br /><br /> Data is stored as vectors of any length (defined by itemSize), and in general in the methods outlined below if passing in an index, this is automatically multiplied by the vector length.

Class InstancedBufferAttribute new InstancedBufferAttribute(Parameter data: T, Parameter itemSize: number, Parameter meshPerAttribute: number): InstancedBufferAttribute<T>

An instanced version of BufferAttribute .

Class BufferGeometry new BufferGeometry(): BufferGeometry<T>

Core.BufferGeometry exported from @manycore/aholo-viewer.

Class FatLineBufferGeometry new FatLineBufferGeometry(Parameter geometry: BufferGeometry<LineList>): FatLineBufferGeometry

This is a dedicated geometry for FatLineSegments| FatLineSegments.

Class InstancedBufferGeometry new InstancedBufferGeometry(): InstancedBufferGeometry

Core.InstancedBufferGeometry exported from @manycore/aholo-viewer.

Interface Material interface Material

A base class for all materials with some abstract functions. Materials describe the appearance of the objects. They are defined in a (mostly) renderer-independent way, so you don't have to rewrite materials if you decide to use a different renderer. The following properties and methods are inherited by all other material types (although they may have different defaults).

Class FatLineMaterial new FatLineMaterial(Parameter p: FatLineMaterialParameter): FatLineMaterial

This material is specifically used to draw line or dash-line which has width more than 1 pixel.

Class LineMaterial new LineMaterial(Parameter p: LineBasicMaterialParameters): LineMaterial

Give linear object a specific color.

Class PointsMaterial new PointsMaterial(Parameter p: PointsMaterialParameters): PointsMaterial

This material is specified used to change performance of Points

Enumeration FilterTarget enum FilterTarget

Core.FilterTarget exported from @manycore/aholo-viewer.

Enumeration ToneMapping enum ToneMapping

Core.ToneMapping exported from @manycore/aholo-viewer.

Class SourceTexture new SourceTexture(Parameter dimension: TextureDimension, Parameter viewDimension: TextureViewDimension, Parameter format: TextureFormat, Parameter width: number, Parameter height: number, Parameter depthOrArrayLayers: number, Parameter mipmaps: boolean, Parameter autoGenerateMipmap: boolean): SourceTexture

SourceTexture is texture which contains cpu data.

Enumeration TextureDimension enum TextureDimension

Core.TextureDimension exported from @manycore/aholo-viewer.

Enumeration TextureViewDimension enum TextureViewDimension

Core.TextureViewDimension exported from @manycore/aholo-viewer.

Enumeration TextureFormat enum TextureFormat

Core.TextureFormat exported from @manycore/aholo-viewer.

Class Box3 new Box3(Parameter min: Vector3, Parameter max: Vector3): Box3

A 3D box represents by min and max.

Class Color new Color(Parameter color_or_r: string | number | Color, Parameter g: number, Parameter b: number): Color

Class representing a color.

Type Alias ReadonlyColor type ReadonlyColor = PickReadonly<Color, "g" | "r" | "b" | "isColor" | "equals" | "getHex" | "getSerializeData">

Core.ReadonlyColor exported from @manycore/aholo-viewer.

Class Euler new Euler(Parameter x: number, Parameter y: number, Parameter z: number, Parameter order: string): Euler

Core.Euler exported from @manycore/aholo-viewer.

Class Frustum new Frustum(Parameter p0: Plane, Parameter p1: Plane, Parameter p2: Plane, Parameter p3: Plane, Parameter p4: Plane, Parameter p5: Plane): Frustum

Core.Frustum exported from @manycore/aholo-viewer.

Class Matrix3 new Matrix3(): Matrix3

A class representing a 3x3 matrix.

Type Alias ReadonlyMatrix3 type ReadonlyMatrix3 = PickReadonly<Matrix3, "elements" | "equals" | "getSerializeData" | "applyToBufferAttribute" | "determinant" | "transposeIntoArray" | "applyToArray" | "applyInverse" | "getNumberCount" | "toArray" | "decompose">

Core.ReadonlyMatrix3 exported from @manycore/aholo-viewer.

Class Matrix4 new Matrix4(): Matrix4

Core.Matrix4 exported from @manycore/aholo-viewer.

Type Alias ReadonlyMatrix4 type ReadonlyMatrix4 = PickReadonly<Matrix4, "elements" | "equals" | "getSerializeData" | "applyToBufferAttribute" | "determinant" | "extractBasis" | "applyToArray" | "getPosition" | "getMaxScaleOnAxis" | "decompose" | "decompose2D" | "getNumberCount" | "toArray">

Core.ReadonlyMatrix4 exported from @manycore/aholo-viewer.

Class Plane new Plane(Parameter normal: Vector3, Parameter constant: number): Plane

A two dimensional surface that extends infinitely in 3d space, represented in Hessian normal form by a unit length normal vector and a constant.

Class Quaternion new Quaternion(Parameter x: number, Parameter y: number, Parameter z: number, Parameter w: number): Quaternion

Implementation of a quaternion. Quaternions are used to represent rotations.

Class Ray new Ray(Parameter origin: Vector3, Parameter direction: Vector3): Ray

A ray that emits from an origin in a certain direction. This is used by the Raycaster| Raycaster to assist with ray casting. Raycaster is used for mouse picking (working out what objects in the 3D space the mouse is over) amongst other things.

Class Sphere new Sphere(Parameter center: Vector3, Parameter radius: number): Sphere

A two dimensional surface that extends infinitely in 3d space, represented in Hessian normal form by a unit length normal vector and a constant.

Class Vector2 new Vector2(Parameter _x: number, Parameter _y: number): Vector2

Class representing a 2D vector. A 2D vector is an ordered pair of numbers (labeled x and y).

Type Alias ReadonlyVector2 type ReadonlyVector2 = PickReadonly<Vector2, "x" | "y" | "width" | "height" | "isVector2" | "getSerializeData" | "dot" | "cross" | "lengthSq" | "length" | "angle" | "manhattanLength" | "distanceTo" | "distanceToSquared" | "manhattanDistanceTo" | "getNumberCount" | "equals" | "toArray" | "intoSize">

Core.ReadonlyVector2 exported from @manycore/aholo-viewer.

Class Vector3 new Vector3(Parameter _x: number, Parameter _y: number, Parameter _z: number): Vector3

Class representing a 3D vector. A 3D vector is an ordered triplet of numbers (labeled x, y, and z).

Type Alias ReadonlyVector3 type ReadonlyVector3 = PickReadonly<Vector3, "x" | "y" | "z" | "getSerializeData" | "dot" | "angleTo" | "lengthSq" | "length" | "distanceTo" | "manhattanLength" | "distanceToSquared" | "manhattanDistanceTo" | "getNumberCount" | "equals" | "toArray">

Core.ReadonlyVector3 exported from @manycore/aholo-viewer.

Class Vector4 new Vector4(Parameter _x: number, Parameter _y: number, Parameter _z: number, Parameter _w: number): Vector4

Class representing a 4D vector. A 4D vector is an ordered quadruplet of numbers (labeled x, y, z, and w).

Type Alias ReadonlyVector4 type ReadonlyVector4 = PickReadonly<Vector4, "x" | "y" | "z" | "w" | "getSerializeData" | "dot" | "lengthSq" | "length" | "manhattanLength" | "getNumberCount" | "equals" | "toArray">

Core.ReadonlyVector4 exported from @manycore/aholo-viewer.

Class Object3D new Object3D(): Object3D

This class is a base class of every objects which can be added into scene tree for the 3d rendering. As a basic class, it has implemented event listening and serialization for every objects of scene. Each object has position, rotation and scale attribute to represent the spatial transform in a 3D coordinate.

Class Scene3D new Scene3D(): Scene3D

Scene3D is a root node of 3d scene graph, other kinds of 3D object need to be add as children into it. This class provides operating functions to control nodes in scene tree and record which nodes are changed in current frame. The effect and renderable content also can be managed here.

Class Camera3D new Camera3D(): Camera3D

Abstract base class for cameras. This class should always be inherited when you build a new camera, such as perspective and orthographic camera. The abstracted function need to respectively implement for different types of cameras.

Class OrthographicCamera new OrthographicCamera(Parameter left: number, Parameter right: number, Parameter top: number, Parameter bottom: number, Parameter near: number, Parameter far: number): OrthographicCamera

The orthographic camera class, which has no "bigger when it's closer, small when it's far" effect. Size will not be affected by the distance.

Class PerspectiveCamera new PerspectiveCamera(Parameter fov: number, Parameter aspect: number, Parameter near: number, Parameter far: number): PerspectiveCamera

Camera that uses perspective projection. This projection mode is designed to mimic the way the human eye sees. It is the most common projection mode used for rendering a 3D scene.

Enumeration DrawableRenderMode enum DrawableRenderMode

Core.DrawableRenderMode exported from @manycore/aholo-viewer.

Class FatLineSegments new FatLineSegments(Parameter geometry: FatLineBufferGeometry, Parameter material: FatLineMaterial): FatLineSegments

This class is used to draw lines which has same width between each vertexes of Geometry on the surfaces. <br />

Class InstanceMesh new InstanceMesh(Parameter meshes: Mesh<Material, BufferGeometry<TriangleList>>[]): InstanceMesh

A special version of Mesh with instanced rendering supported. Use InstancedMesh if you have to render a large number of objects with the same geometry and material but with different world transformations. The usage of InstancedMesh will help you to reduce the number of draw calls and thus improve the overall rendering performance in your application.

Class Line new Line(Parameter geometry: BufferGeometry<LineStrip>, Parameter material: M | M[]): Line<M>

This class is used to link points as one by one and draw a continuous line between them. It supports any type of geometry, but only line material is supported. The segment and loop line also need to extend this class.

Class LineSegments new LineSegments(Parameter geometry: BufferGeometry<LineList>, Parameter material: M | M[]): LineSegments<M>

This class is used to link points as pair and draw a segmented line between them. It supports any type of geometry, but only line material is supported.

Class Mesh new Mesh(Parameter geometry: G, Parameter material: M | M[]): Mesh<M, G>

This class is used to connect every three points into a triangle and draws every meshes as corresponding material in the scene.

Class Points new Points(Parameter geometry: BufferGeometry<PointList>, Parameter material: M | M[]): Points<M>

This class is used to draw all vertexes of geometry as a series of independent points. It supports any type of geometry, but only PointsMaterial is supported.

Class Sprite new Sprite(Parameter material: SpriteMaterial): Sprite

A sprite is a plane that always faces towards the camera, generally with a partially transparent texture applied.

Class AmbientLight new AmbientLight(Parameter color: string | number, Parameter intensity: number): AmbientLight

This light's color gets applied to all the objects in the scene globally. The color of this light can influence object's natural color.

Class DirectionalLight new DirectionalLight(Parameter color: string | number, Parameter intensity: number): DirectionalLight

This class is base class of all types of light source. Every lights have two basic attributes which are color and intensity.

Interface Light interface Light

This class is base class of all types of light source. Every lights have two basic attributes which are color and intensity.

Class PointLight new PointLight(Parameter color: string | number, Parameter intensity: number, Parameter distance: number, Parameter decay: number, Parameter isIESEnabled: boolean, Parameter textureIES: T, Parameter iesIntensityScale: number, Parameter iesTextureResolution: Vector2): PointLight<T>

A light that gets emitted from a single point in all directions. A common use case for this is to replicate the light emitted from a bare lightbulb.

Class SpotLight new SpotLight(Parameter color: string | number, Parameter intensity: number, Parameter distance: number, Parameter angle: number, Parameter penumbra: number, Parameter decay: number, Parameter isIESEnabled: boolean, Parameter textureIES: T, Parameter iesIntensityScale: number, Parameter iesTextureResolution: Vector2): SpotLight<T>

This light gets emitted from a single point in one direction, along a cone that increases in size the further from the light it gets.

Enumeration BackgroundMode enum BackgroundMode

Core.BackgroundMode exported from @manycore/aholo-viewer.

Class CompressedSplat new CompressedSplat(Parameter counts: number, Parameter shDegree: number, Parameter splat1Tex: SourceTexture, Parameter splat2Tex: SourceTexture, Parameter sh1Tex: SourceTexture, Parameter sh2Tex: SourceTexture, Parameter sh3Tex: SourceTexture, Parameter sh4Tex: SourceTexture): CompressedSplat

This class is a base class of every objects which can be added into scene tree for the 3d rendering. As a basic class, it has implemented event listening and serialization for every objects of scene. Each object has position, rotation and scale attribute to represent the spatial transform in a 3D coordinate.

Class SogSplat new SogSplat(Parameter meta: SogSplatMeta, Parameter meansL: SourceTexture, Parameter meansU: SourceTexture, Parameter quats: SourceTexture, Parameter scales: SourceTexture, Parameter colors: SourceTexture, Parameter _shNLabels: SourceTexture, Parameter _shNCentroids: SourceTexture): SogSplat

This class is a base class of every objects which can be added into scene tree for the 3d rendering. As a basic class, it has implemented event listening and serialization for every objects of scene. Each object has position, rotation and scale attribute to represent the spatial transform in a 3D coordinate.

Enumeration SplatState enum SplatState

Core.SplatState exported from @manycore/aholo-viewer.

Class Splat new Splat(Parameter counts: number, Parameter shDegree: number): Splat

This class is a base class of every objects which can be added into scene tree for the 3d rendering. As a basic class, it has implemented event listening and serialization for every objects of scene. Each object has position, rotation and scale attribute to represent the spatial transform in a 3D coordinate.

Class SuperCompressedSplat new SuperCompressedSplat(Parameter counts: number, Parameter shDegree: number, Parameter splatTex: SourceTexture, Parameter sh1Tex: SourceTexture, Parameter sh2Tex: SourceTexture): SuperCompressedSplat

This class is a base class of every objects which can be added into scene tree for the 3d rendering. As a basic class, it has implemented event listening and serialization for every objects of scene. Each object has position, rotation and scale attribute to represent the spatial transform in a 3D coordinate.

Class Layers new Layers(): Layers

A Layers object assigns an Object3D to 1 or more of 32 layers numbered 0 to 31 - internally the layers are stored as a bit mask, and by default all Object3Ds are a member of layer 0. This can be used to control visibility - an object must share a layer with a camera to be visible when that camera's view is renderered. All classes that inherit from Object3D have an Object3D.layers| layers property which is an instance of this class.

Interface Intersection interface Intersection

The attributes of this Intersection used to record the result of calculation.

Class Raycaster new Raycaster(Parameter origin: Vector3, Parameter direction: Vector3, Parameter near: number, Parameter far: number): Raycaster

This class is designed to assist with raycasting. Raycasting is used for mouse picking (working out what objects in the 3d space the mouse is over) amongst other things.

Class TypeAssert new TypeAssert(): TypeAssert

All functions in this class is static and is used to recognize if an object belongs to certain class. Every value as return is boolean variable.

Enumeration Side enum Side

Specified the showing side of objects, which the fround side is normal vector's direction.

Enumeration Blending enum Blending

Specified the color blending mode for transparent effect.

Enumeration DepthModes enum DepthModes

The depth test function.

Enumeration DrawMode enum DrawMode

This is used to decide how the vertex array is drawing.

Enumeration SamplerWrap enum SamplerWrap

These define the texture's wrapS and wrapT properties, which define horizontal and vertical texture wrapping.

Enumeration SamplerFilter enum SamplerFilter

With MirroredRepeatWrapping the texture will repeats to infinity, mirroring on each repeat.

Enumeration BlendingEquation enum BlendingEquation

The blendEquation method of the WebGL API is used to set both the RGB blend equation and alpha blend equation to a single equation.

Enumeration BlendingFactor enum BlendingFactor

The following constants can be used for sfactor and dfactor. The formula for the blending color can be described like this: color(RGBA) = (sourceColor * sfactor) + (destinationColor * dfactor). The RBGA values are between 0 and 1.

Enumeration StencilOp enum StencilOp

The stencilOp method of the WebGL API sets both the front and back-facing stencil test actions.

Enumeration StencilFunc enum StencilFunc

The stencilFunc method of the WebGL API sets the front and back function and reference value for stencil testing. Stenciling enables and disables drawing on a per-pixel basis. It is typically used in multipass rendering to achieve special effects.

Events

Animation

Variable AnimationFinishEvent const AnimationFinishEvent: EventType<{ action: AnimationAction }>

Animation.AnimationFinishEvent exported from @manycore/aholo-viewer.

Class AnimationAction new AnimationAction(Parameter root: Object3D, Parameter clip: AnimationClip, Parameter ctx: ActionCtx, Parameter mixer: AnimationMixer): AnimationAction

An instance schedules the playback of an animation stored in AnimationClip

Class AnimationMixer new AnimationMixer(Parameter root: Object3D, Parameter useCache: boolean): AnimationMixer

The class is a player for animations on a particular object called root

Variable SkeletonUpdatedEvent const SkeletonUpdatedEvent: EventType<never>

Animation.SkeletonUpdatedEvent exported from @manycore/aholo-viewer.

Class AnimationPlugin new AnimationPlugin(): AnimationPlugin

A special viewer plugin responsible for animation and skeleton updating.

Class Skeleton new Skeleton(Parameter bones: Object3D[], Parameter boneInverses: Matrix4[]): Skeleton

A special class used by SkinnedMesh containing an array of bones.

Enumeration Loop enum Loop

Animation.Loop exported from @manycore/aholo-viewer.

Enumeration InterpolationMode enum InterpolationMode

Animation.InterpolationMode exported from @manycore/aholo-viewer.

Interface KeyframeTrack interface KeyframeTrack

Animation.KeyframeTrack exported from @manycore/aholo-viewer.

Enumeration Blend enum Blend

Animation.Blend exported from @manycore/aholo-viewer.

Interface AnimationClip interface AnimationClip

Animation.AnimationClip exported from @manycore/aholo-viewer.

SplatLoader

Class KsplatFile new KsplatFile(): KsplatFile

SplatLoader.KsplatFile exported from @manycore/aholo-viewer.

Class LccFile new LccFile(): LccFile

SplatLoader.LccFile exported from @manycore/aholo-viewer.

Class PlyFile new PlyFile(): PlyFile

SplatLoader.PlyFile exported from @manycore/aholo-viewer.

Class SogFile new SogFile(): SogFile

SplatLoader.SogFile exported from @manycore/aholo-viewer.

Class SplatFile new SplatFile(): SplatFile

SplatLoader.SplatFile exported from @manycore/aholo-viewer.

Class SpzFile new SpzFile(): SpzFile

SplatLoader.SpzFile exported from @manycore/aholo-viewer.

Interface IFile interface IFile

SplatLoader.IFile exported from @manycore/aholo-viewer.

Function parseSplatData parseSplatData(Parameter type: SplatFileType, Parameter input: string | Uint8Array<ArrayBufferLike> | File | { stream: ReadableStream<Uint8Array<ArrayBufferLike>>; contentLength: number }, Parameter packType: SplatPackType, Parameter extras: Partial<ParseExtras>): Promise<SplatData>

SplatLoader.parseSplatData exported from @manycore/aholo-viewer.

Class CompressedSplatData new CompressedSplatData(Parameter maxShDegree: number, Parameter maxTextureSize: number, Parameter blockCounts: number): CompressedSplatData

SplatLoader.CompressedSplatData exported from @manycore/aholo-viewer.

Class RawSplatData new RawSplatData(Parameter maxShDegree: number, Parameter maxTextureSize: number, Parameter blockCounts: number): RawSplatData

SplatLoader.RawSplatData exported from @manycore/aholo-viewer.

Class SogSplatData new SogSplatData(Parameter maxShDegree: number, Parameter maxTextureSize: number, Parameter blockCounts: number): SogSplatData

SplatLoader.SogSplatData exported from @manycore/aholo-viewer.

Class SplatData new SplatData(Parameter maxShDegree: number, Parameter maxTextureSize: number, Parameter blockCounts: number): SplatData

SplatLoader.SplatData exported from @manycore/aholo-viewer.

Class SuperCompressedSplatData new SuperCompressedSplatData(Parameter maxShDegree: number, Parameter maxTextureSize: number, Parameter blockCounts: number): SuperCompressedSplatData

SplatLoader.SuperCompressedSplatData exported from @manycore/aholo-viewer.

Enumeration ISamplerFormat enum ISamplerFormat

SplatLoader.ISamplerFormat exported from @manycore/aholo-viewer.

Interface ISampler interface ISampler

SplatLoader.ISampler exported from @manycore/aholo-viewer.

Interface ISingleSplat interface ISingleSplat

SplatLoader.ISingleSplat exported from @manycore/aholo-viewer.

Enumeration SplatFileType enum SplatFileType

SplatLoader.SplatFileType exported from @manycore/aholo-viewer.

Enumeration SplatPackType enum SplatPackType

SplatLoader.SplatPackType exported from @manycore/aholo-viewer.

Function detectSplatFileType detectSplatFileType(Parameter filename: string, Parameter buffer: Uint8Array): SplatFileType | undefined

SplatLoader.detectSplatFileType exported from @manycore/aholo-viewer.

DracoLoader

GLTFLoader

SplatUtils

Enumeration IntersectContainment enum IntersectContainment

SplatUtils.IntersectContainment exported from @manycore/aholo-viewer.

Class SplatBVH new SplatBVH(Parameter operator: SplatOperator, Parameter maxLeafSize: number): SplatBVH

splat model space bvh

Function createSplatModifyData createSplatModifyData(Parameter splat: Splat): ISplatModifyData

SplatUtils.createSplatModifyData exported from @manycore/aholo-viewer.

Function createSplat createSplat(Parameter data: SplatData): Promise<Splat>

SplatUtils.createSplat exported from @manycore/aholo-viewer.

Function createSplatData createSplatData(Parameter splat: Splat): SplatData

SplatUtils.createSplatData exported from @manycore/aholo-viewer.

Function combineSplatData combineSplatData(Parameter source: SplatData[]): SplatData

SplatUtils.combineSplatData exported from @manycore/aholo-viewer.

Function transformSplatFile transformSplatFile(Parameter source: SplatData, Parameter outType: SplatFileType): ReadableStream<Uint8Array<ArrayBufferLike>>

SplatUtils.transformSplatFile exported from @manycore/aholo-viewer.

Class SplatOperator new SplatOperator(Parameter splat: Splat, Parameter data: SplatData): SplatOperator

SplatUtils.SplatOperator exported from @manycore/aholo-viewer.

Interface LodMeta interface LodMeta

SplatUtils.LodMeta exported from @manycore/aholo-viewer.

Interface LodConfig interface LodConfig

SplatUtils.LodConfig exported from @manycore/aholo-viewer.

Class LodSplat new LodSplat(Parameter meta: LodMeta, Parameter config: Partial<LodConfig>, Parameter viewerCtx: IViewerContext, Parameter loadResource: (url: string) => Promise<SplatData>): LodSplat

SplatUtils.LodSplat exported from @manycore/aholo-viewer.

Function computeDenseBox computeDenseBox(Parameter operator: SplatOperator, Parameter ratio: number): { boxMin: number[]; boxMax: number[] }

SplatUtils.computeDenseBox exported from @manycore/aholo-viewer.