API
TypeDoc API reference generated from renderer exports.
Core
new MeshBasicMaterial(Parameter p: any): MeshBasicMaterial Core.MeshBasicMaterial exported from @manycore/aholo-viewer.
Class MeshPhongMaterialnew MeshPhongMaterial(Parameter p: any): MeshPhongMaterial Core.MeshPhongMaterial exported from @manycore/aholo-viewer.
Class SpriteMaterialnew SpriteMaterial(Parameter p: any): SpriteMaterial Core.SpriteMaterial exported from @manycore/aholo-viewer.
Interface IBasicBackgroundConfiginterface IBasicBackgroundConfig Core.IBasicBackgroundConfig exported from @manycore/aholo-viewer.
Interface IEnvMapBackgroundConfiginterface IEnvMapBackgroundConfig Core.IEnvMapBackgroundConfig exported from @manycore/aholo-viewer.
Interface IGradientBackgroundConfiginterface IGradientBackgroundConfig Core.IGradientBackgroundConfig exported from @manycore/aholo-viewer.
Interface ISkyBackgroundConfiginterface ISkyBackgroundConfig Core.ISkyBackgroundConfig exported from @manycore/aholo-viewer.
Interface IBackgroundPluginConfiginterface IBackgroundPluginConfig Core.IBackgroundPluginConfig exported from @manycore/aholo-viewer.
Interface ICompositePluginConfiginterface ICompositePluginConfig Core.ICompositePluginConfig exported from @manycore/aholo-viewer.
Interface ISplattingPluginConfiginterface ISplattingPluginConfig Core.ISplattingPluginConfig exported from @manycore/aholo-viewer.
Interface ITaaPluginConfiginterface ITaaPluginConfig Core.ITaaPluginConfig exported from @manycore/aholo-viewer.
Interface IPipelineConfiginterface IPipelineConfig Core.IPipelineConfig exported from @manycore/aholo-viewer.
Interface IViewerConfiginterface IViewerConfig Core.IViewerConfig exported from @manycore/aholo-viewer.
Function downloadTexturedownloadTexture(Parameter url: string): Promise<SourceTexture> Core.downloadTexture exported from @manycore/aholo-viewer.
Function createViewercreateViewer(Parameter name: string, Parameter container: HTMLElement, Parameter config: EngineInitializeConfig): Viewer Core.createViewer exported from @manycore/aholo-viewer.
Function setViewerConfigsetViewerConfig(Parameter ctx: Viewer | Viewport, Parameter config: IViewerConfig): void Core.setViewerConfig exported from @manycore/aholo-viewer.
Interface Viewerinterface 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 IViewerContextinterface IViewerContext Core.IViewerContext exported from @manycore/aholo-viewer.
Function createViewerContextcreateViewerContext(Parameter viewer: Viewer, Parameter viewport: Viewport): IViewerContext Core.createViewerContext exported from @manycore/aholo-viewer.
Interface Viewportinterface Viewport Core.Viewport exported from @manycore/aholo-viewer.
Class BufferAttributenew 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 InstancedBufferAttributenew InstancedBufferAttribute(Parameter data: T, Parameter itemSize: number, Parameter meshPerAttribute: number): InstancedBufferAttribute<T> An instanced version of BufferAttribute .
Class BufferGeometrynew BufferGeometry(): BufferGeometry<T> Core.BufferGeometry exported from @manycore/aholo-viewer.
Class FatLineBufferGeometrynew FatLineBufferGeometry(Parameter geometry: BufferGeometry<LineList>): FatLineBufferGeometry This is a dedicated geometry for FatLineSegments| FatLineSegments.
Class InstancedBufferGeometrynew InstancedBufferGeometry(): InstancedBufferGeometry Core.InstancedBufferGeometry exported from @manycore/aholo-viewer.
Interface Materialinterface 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 FatLineMaterialnew FatLineMaterial(Parameter p: FatLineMaterialParameter): FatLineMaterial This material is specifically used to draw line or dash-line which has width more than 1 pixel.
Class LineMaterialnew LineMaterial(Parameter p: LineBasicMaterialParameters): LineMaterial Give linear object a specific color.
Class PointsMaterialnew PointsMaterial(Parameter p: PointsMaterialParameters): PointsMaterial This material is specified used to change performance of Points
Enumeration FilterTargetenum FilterTarget Core.FilterTarget exported from @manycore/aholo-viewer.
Enumeration ToneMappingenum ToneMapping Core.ToneMapping exported from @manycore/aholo-viewer.
Class SourceTexturenew 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 TextureDimensionenum TextureDimension Core.TextureDimension exported from @manycore/aholo-viewer.
Enumeration TextureViewDimensionenum TextureViewDimension Core.TextureViewDimension exported from @manycore/aholo-viewer.
Enumeration TextureFormatenum TextureFormat Core.TextureFormat exported from @manycore/aholo-viewer.
Class Box3new Box3(Parameter min: Vector3, Parameter max: Vector3): Box3 A 3D box represents by min and max.
Class Colornew Color(Parameter color_or_r: string | number | Color, Parameter g: number, Parameter b: number): Color Class representing a color.
Type Alias ReadonlyColortype ReadonlyColor = PickReadonly<Color, "g" | "r" | "b" | "isColor" | "equals" | "getHex" | "getSerializeData"> Core.ReadonlyColor exported from @manycore/aholo-viewer.
Class Eulernew Euler(Parameter x: number, Parameter y: number, Parameter z: number, Parameter order: string): Euler Core.Euler exported from @manycore/aholo-viewer.
Class Frustumnew 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 Matrix3new Matrix3(): Matrix3 A class representing a 3x3 matrix.
Type Alias ReadonlyMatrix3type ReadonlyMatrix3 = PickReadonly<Matrix3, "elements" | "equals" | "getSerializeData" | "applyToBufferAttribute" | "determinant" | "transposeIntoArray" | "applyToArray" | "applyInverse" | "getNumberCount" | "toArray" | "decompose"> Core.ReadonlyMatrix3 exported from @manycore/aholo-viewer.
Class Matrix4new Matrix4(): Matrix4 Core.Matrix4 exported from @manycore/aholo-viewer.
Type Alias ReadonlyMatrix4type ReadonlyMatrix4 = PickReadonly<Matrix4, "elements" | "equals" | "getSerializeData" | "applyToBufferAttribute" | "determinant" | "extractBasis" | "applyToArray" | "getPosition" | "getMaxScaleOnAxis" | "decompose" | "decompose2D" | "getNumberCount" | "toArray"> Core.ReadonlyMatrix4 exported from @manycore/aholo-viewer.
Class Planenew 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 Quaternionnew 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 Raynew 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 Spherenew 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 Vector2new 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 ReadonlyVector2type 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 Vector3new 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 ReadonlyVector3type 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 Vector4new 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 ReadonlyVector4type ReadonlyVector4 = PickReadonly<Vector4, "x" | "y" | "z" | "w" | "getSerializeData" | "dot" | "lengthSq" | "length" | "manhattanLength" | "getNumberCount" | "equals" | "toArray"> Core.ReadonlyVector4 exported from @manycore/aholo-viewer.
Class Object3Dnew 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 Scene3Dnew 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 Camera3Dnew 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 OrthographicCameranew 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 PerspectiveCameranew 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 DrawableRenderModeenum DrawableRenderMode Core.DrawableRenderMode exported from @manycore/aholo-viewer.
Class FatLineSegmentsnew 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 InstanceMeshnew 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 Linenew 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 LineSegmentsnew 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 Meshnew 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 Pointsnew 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 Spritenew Sprite(Parameter material: SpriteMaterial): Sprite A sprite is a plane that always faces towards the camera, generally with a partially transparent texture applied.
Class AmbientLightnew 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 DirectionalLightnew 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 Lightinterface Light This class is base class of all types of light source. Every lights have two basic attributes which are color and intensity.
Class PointLightnew 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 SpotLightnew 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 BackgroundModeenum BackgroundMode Core.BackgroundMode exported from @manycore/aholo-viewer.
Class CompressedSplatnew 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 SogSplatnew 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 SplatStateenum SplatState Core.SplatState exported from @manycore/aholo-viewer.
Class Splatnew 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 SuperCompressedSplatnew 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 Layersnew 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 Intersectioninterface Intersection The attributes of this Intersection used to record the result of calculation.
Class Raycasternew 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 TypeAssertnew 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 Sideenum Side Specified the showing side of objects, which the fround side is normal vector's direction.
Enumeration Blendingenum Blending Specified the color blending mode for transparent effect.
Enumeration DepthModesenum DepthModes The depth test function.
Enumeration DrawModeenum DrawMode This is used to decide how the vertex array is drawing.
Enumeration SamplerWrapenum SamplerWrap These define the texture's wrapS and wrapT properties, which define horizontal and vertical texture wrapping.
Enumeration SamplerFilterenum SamplerFilter With MirroredRepeatWrapping the texture will repeats to infinity, mirroring on each repeat.
Enumeration BlendingEquationenum 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 BlendingFactorenum 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 StencilOpenum StencilOp The stencilOp method of the WebGL API sets both the front and back-facing stencil test actions.
Enumeration StencilFuncenum 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
const SplatRenderingStabilityChangedEvent: EventType<boolean> Events.SplatRenderingStabilityChangedEvent exported from @manycore/aholo-viewer.
Variable SplatSortedEventconst SplatSortedEvent: EventType<never> Events.SplatSortedEvent exported from @manycore/aholo-viewer.
Animation
const AnimationFinishEvent: EventType<{ action: AnimationAction }> Animation.AnimationFinishEvent exported from @manycore/aholo-viewer.
Class AnimationActionnew 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 AnimationMixernew AnimationMixer(Parameter root: Object3D, Parameter useCache: boolean): AnimationMixer The class is a player for animations on a particular object called root
Variable SkeletonUpdatedEventconst SkeletonUpdatedEvent: EventType<never> Animation.SkeletonUpdatedEvent exported from @manycore/aholo-viewer.
Class AnimationPluginnew AnimationPlugin(): AnimationPlugin A special viewer plugin responsible for animation and skeleton updating.
Class Skeletonnew Skeleton(Parameter bones: Object3D[], Parameter boneInverses: Matrix4[]): Skeleton A special class used by SkinnedMesh containing an array of bones.
Enumeration Loopenum Loop Animation.Loop exported from @manycore/aholo-viewer.
Enumeration InterpolationModeenum InterpolationMode Animation.InterpolationMode exported from @manycore/aholo-viewer.
Interface KeyframeTrackinterface KeyframeTrack Animation.KeyframeTrack exported from @manycore/aholo-viewer.
Enumeration Blendenum Blend Animation.Blend exported from @manycore/aholo-viewer.
Interface AnimationClipinterface AnimationClip Animation.AnimationClip exported from @manycore/aholo-viewer.
SplatLoader
new KsplatFile(): KsplatFile SplatLoader.KsplatFile exported from @manycore/aholo-viewer.
Class LccFilenew LccFile(): LccFile SplatLoader.LccFile exported from @manycore/aholo-viewer.
Class PlyFilenew PlyFile(): PlyFile SplatLoader.PlyFile exported from @manycore/aholo-viewer.
Class SogFilenew SogFile(): SogFile SplatLoader.SogFile exported from @manycore/aholo-viewer.
Class SplatFilenew SplatFile(): SplatFile SplatLoader.SplatFile exported from @manycore/aholo-viewer.
Class SpzFilenew SpzFile(): SpzFile SplatLoader.SpzFile exported from @manycore/aholo-viewer.
Interface IFileinterface IFile SplatLoader.IFile exported from @manycore/aholo-viewer.
Function parseSplatDataparseSplatData(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 CompressedSplatDatanew CompressedSplatData(Parameter maxShDegree: number, Parameter maxTextureSize: number, Parameter blockCounts: number): CompressedSplatData SplatLoader.CompressedSplatData exported from @manycore/aholo-viewer.
Class RawSplatDatanew RawSplatData(Parameter maxShDegree: number, Parameter maxTextureSize: number, Parameter blockCounts: number): RawSplatData SplatLoader.RawSplatData exported from @manycore/aholo-viewer.
Class SogSplatDatanew SogSplatData(Parameter maxShDegree: number, Parameter maxTextureSize: number, Parameter blockCounts: number): SogSplatData SplatLoader.SogSplatData exported from @manycore/aholo-viewer.
Class SplatDatanew SplatData(Parameter maxShDegree: number, Parameter maxTextureSize: number, Parameter blockCounts: number): SplatData SplatLoader.SplatData exported from @manycore/aholo-viewer.
Class SuperCompressedSplatDatanew SuperCompressedSplatData(Parameter maxShDegree: number, Parameter maxTextureSize: number, Parameter blockCounts: number): SuperCompressedSplatData SplatLoader.SuperCompressedSplatData exported from @manycore/aholo-viewer.
Enumeration ISamplerFormatenum ISamplerFormat SplatLoader.ISamplerFormat exported from @manycore/aholo-viewer.
Interface ISamplerinterface ISampler SplatLoader.ISampler exported from @manycore/aholo-viewer.
Interface ISingleSplatinterface ISingleSplat SplatLoader.ISingleSplat exported from @manycore/aholo-viewer.
Enumeration SplatFileTypeenum SplatFileType SplatLoader.SplatFileType exported from @manycore/aholo-viewer.
Enumeration SplatPackTypeenum SplatPackType SplatLoader.SplatPackType exported from @manycore/aholo-viewer.
Function detectSplatFileTypedetectSplatFileType(Parameter filename: string, Parameter buffer: Uint8Array): SplatFileType | undefined SplatLoader.detectSplatFileType exported from @manycore/aholo-viewer.
DracoLoader
interface ParseConfig DracoLoader.ParseConfig exported from @manycore/aholo-viewer.
Function parseDracoBufferparseDracoBuffer(Parameter buffer: ArrayBuffer, Parameter config: Partial<ParseConfig>): Promise<IDracoGeometry> DracoLoader.parseDracoBuffer exported from @manycore/aholo-viewer.
GLTFLoader
interface LoaderConfig GLTFLoader.LoaderConfig exported from @manycore/aholo-viewer.
Interface ParseResultinterface ParseResult GLTFLoader.ParseResult exported from @manycore/aholo-viewer.
Function loadGLTFloadGLTF(Parameter data: string | ArrayBuffer, Parameter config: LoaderConfig): Promise<ParseResult> GLTFLoader.loadGLTF exported from @manycore/aholo-viewer.
SplatUtils
enum IntersectContainment SplatUtils.IntersectContainment exported from @manycore/aholo-viewer.
Class SplatBVHnew SplatBVH(Parameter operator: SplatOperator, Parameter maxLeafSize: number): SplatBVH splat model space bvh
Function createSplatModifyDatacreateSplatModifyData(Parameter splat: Splat): ISplatModifyData SplatUtils.createSplatModifyData exported from @manycore/aholo-viewer.
Function createSplatcreateSplat(Parameter data: SplatData): Promise<Splat> SplatUtils.createSplat exported from @manycore/aholo-viewer.
Function createSplatDatacreateSplatData(Parameter splat: Splat): SplatData SplatUtils.createSplatData exported from @manycore/aholo-viewer.
Function combineSplatDatacombineSplatData(Parameter source: SplatData[]): SplatData SplatUtils.combineSplatData exported from @manycore/aholo-viewer.
Function transformSplatFiletransformSplatFile(Parameter source: SplatData, Parameter outType: SplatFileType): ReadableStream<Uint8Array<ArrayBufferLike>> SplatUtils.transformSplatFile exported from @manycore/aholo-viewer.
Class SplatOperatornew SplatOperator(Parameter splat: Splat, Parameter data: SplatData): SplatOperator SplatUtils.SplatOperator exported from @manycore/aholo-viewer.
Interface LodMetainterface LodMeta SplatUtils.LodMeta exported from @manycore/aholo-viewer.
Interface LodConfiginterface LodConfig SplatUtils.LodConfig exported from @manycore/aholo-viewer.
Class LodSplatnew 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 computeDenseBoxcomputeDenseBox(Parameter operator: SplatOperator, Parameter ratio: number): { boxMin: number[]; boxMax: number[] } SplatUtils.computeDenseBox exported from @manycore/aholo-viewer.