SogSplatData
SplatLoader.SogSplatData exported from @manycore/aholo-viewer.
Hierarchy
- SplatData
- SogSplatData
Constructors
constructor
- new SogSplatData(
maxShDegree?: number,
maxTextureSize?: number,
blockCounts?: number,
): SogSplatDataParameters
- maxShDegree: number
- maxTextureSize: number
- blockCounts: number
Returns SogSplatData
Inherited from SplatData.constructor
Properties
counts
counts: number
sh Degree
shDegree: number
Readonlymax Sh Degree
maxShDegree: number
Inherited from SplatData.maxShDegree
Readonlymax Texture Size
maxTextureSize: number
Inherited from SplatData.maxTextureSize
Methods
init
load
- load(
meta: SogMetadata,
meansL: Uint8Array,
meansU: Uint8Array,
quats: Uint8Array,
scales: Uint8Array,
colors: Uint8Array,
shNLabels?: Uint8Array<ArrayBufferLike>,
shNCentroids?: Uint8Array<ArrayBufferLike>,
): voidParameters
- meta: SogMetadata
- meansL: Uint8Array
- meansU: Uint8Array
- quats: Uint8Array
- scales: Uint8Array
- colors: Uint8Array
- shNLabels: Uint8Array<ArrayBufferLike>
- shNCentroids: Uint8Array<ArrayBufferLike>
Returns void
set
set Center
set Scale
set Quat
set Color
set Alpha
set Sh N
get
get Center
get Scale
get Quat
get Color
get Alpha
get Sh N
fill Centers
serialize
deserialize
init Block
finish Block
Returns void
Inherited from SplatData.finishBlock