Preparing search index...

    Class GaussianSplattingAsset

    Hierarchy (View Summary)

    • Asset
      • GaussianSplattingAsset
    Index

    Properties

    name: string

    The name of the Asset in Lens Studio.

    uniqueIdentifier: string

    Methods

    • Static factory method. that creates a new GaussianSplattingAsset using the provided data buffers:

      • PositionsXYZ: an interleaved Float32Array of 3D positions (px, py, pz for each splat),
      • ScalesXYZ: an interleaved Float32Array of 3D scales (sx, sy, sz for each splat),
      • RotationsWXYZ: an interleaved Float32Array of quaternions (qw, qx, qy, qz for each splat),
      • ColorsRGBA: an interleaved Float32Array of colors (r, g, b, a for each splat).

      Parameters

      • positionsXYZ: Float32Array
      • scalesXYZ: Float32Array
      • rotationsWXYZ: Float32Array
      • colorsRGBA: Float32Array

      Returns GaussianSplattingAsset

    • The number of frames in the asset (in case of GSAF)

      Returns number

    • Returns the colors of all splats as an interleaved Float32Array (r, g, b, a for each splat).

      Returns Float32Array

    • The number of splats in the asset. For GSAF, it's the total number of splats across all frames.

      Returns number

    • Returns the 3D positions of all splats as an interleaved Float32Array (x, y, z for each splat).

      Returns Float32Array

    • Returns the rotations of all splats as an interleaved Float32Array of quaternions (w, x, y, z for each splat).

      Returns Float32Array

    • Returns the 3D scale values of all splats as an interleaved Float32Array (x, y, z for each splat).

      Returns Float32Array

    • Returns the name of this object's type.

      Returns string

    • Returns true if the object matches or derives from the passed in type.

      Parameters

      • type: string

      Returns boolean

    • Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

      Parameters

      Returns boolean

    • Sets the colors of all splats from an interleaved Float32Array (r, g, b, a for each splat).

      Parameters

      • rgbaArray: Float32Array

      Returns void

    • Sets the 3D positions of all splats from an interleaved Float32Array (x, y, z for each splat).

      Parameters

      • vec3Array: Float32Array

      Returns void

    • Sets the rotations of all splats from an interleaved Float32Array of quaternions (w, x, y, z for each splat).

      Parameters

      • quatsWxyzArray: Float32Array

      Returns void

    • Sets the 3D scale values of all splats from an interleaved Float32Array (x, y, z for each splat).

      Parameters

      • vec3Array: Float32Array

      Returns void