import { addTo } from './addTo';
import { getGroup } from './getGroup';
import { getPrefab } from './getPrefab';
/**
 * Returns as basic object.
 * @example
 * ```ts
  addTo(
    root,
    createBasic({
      p: [0, -1, 5],
    })
  );
 * ```
 */
export const createBasic = (options = {}) => {
    const { objectMaterial = 't_metal_01' } = options;
    const wrapper = getGroup(options);
    const object = getPrefab({
        material: objectMaterial,
    });
    addTo(wrapper, object);
    return wrapper;
};
//# sourceMappingURL=createBasic.js.map