src/core/engines/ogl/ogl.js
/**
     * Add a general placeholder to the scene.
     *
     * @param keywords  string[]        Defines the kind of placeholder to create
     * @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 a general placeholder to the scene.
@param keywords  string[]        Defines the kind of placeholder to create
@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 a general placeholder to the scene . @param keywords string [] Defines the kind of placeholder to create @param position number { x y z } 3D position of the placeholder @param orientation number { x y z w } Orientation of the placeholder @returns { Transform }
addPlaceholder(keywords, position, orientation) {
        const placeholder = getDefaultPlaceholder(gl);
        placeholder.position.set(position.x, position.y, position.z);
        placeholder.quaternion.set(orientation.x, orientation.y, orientation.z, orientation.w);
        placeholder.setParent(scene);
        return placeholder;
    }
addPlaceholder ( keywords , position , orientation ) { const placeholder = getDefaultPlaceholder ( gl ) ; placeholder . position . set ( position . x , position . y , position . z ) ; placeholder . quaternion . set ( orientation . x , orientation . y , orientation . z , orientation . w ) ; placeholder . setParent ( scene ) ; return placeholder ; }
Add a general placeholder to the scene.
Add a general placeholder to the scene .