playcanvas-opti-pixel - v1.2.0
    Preparing search index...

    Class BasicArrayHierarchicalInstancerLayer<THost>

    Per-layer view of BasicArrayHierarchicalInstancer: own LODs, sorter, material/opacity flags; shares capacity and texture arrays with the host.

    Type Parameters

    Index
    colorsTexture: ColorDataTextureLayerProxy = ...

    Color writer proxy for this layer. Lazy-initialized with host colors array.

    LODs: ILODLevel[] = []

    LODs for this layer.

    matricesTexture: Mat4DataTextureLayerProxy

    Matrix writer proxy for this layer.

    • Parameters

      • meshInstanceList: MeshInstance[] | null
      • root: Entity | null
      • distance: number = 0
      • hysteresis: number = 0

      Returns number

    • Parameters

      • index: number
      • sphere: BoundingSphere
      • center: Vec3
      • radius: number

      Returns void