src/core/engines/ogl/ogl.js
/**
     * Add placeholder for loadable scene.
     *
     * Indicates visually that the placeholder can load a scene.
     *
     * @param position  number{x, y, z}        3D position of the placeholder
     * @param orientation  number{x, y, z, w}     Orientation of the placeholder
     * @returns {Transform}
     */
Add placeholder for loadable scene.
Indicates visually that the placeholder can load a scene.

@param position  number{x, y, z}        3D position of the placeholder
@param orientation  number{x, y, z, w}     Orientation of the placeholder
@returns {Transform}
Add placeholder for loadable scene . Indicates visually that the placeholder can load a scene . @param position number { x y z } 3D position of the placeholder @param orientation number { x y z w } Orientation of the placeholder @returns { Transform }
addExperiencePlaceholder(position, orientation) {
        const placeholder = getExperiencePlaceholder(gl);
        placeholder.position.set(position.x, position.y, position.z);
        placeholder.quaternion.set(orientation.x, orientation.y, orientation.z, orientation.w);
        placeholder.setParent(scene);
        updateHandlers[placeholder.id] = () => placeholder.rotation.y += .01;
        return placeholder;
    }
addExperiencePlaceholder ( position , orientation ) { const placeholder = getExperiencePlaceholder ( gl ) ; placeholder . position . set ( position . x , position . y , position . z ) ; placeholder . quaternion . set ( orientation . x , orientation . y , orientation . z , orientation . w ) ; placeholder . setParent ( scene ) ; updateHandlers [ placeholder . id ] = ( ) => placeholder . rotation . y += .01 ; return placeholder ; }
Add placeholder for loadable scene.
Add placeholder for loadable scene .