Interface IWebXRBackgroundRemoverOptions
interface IWebXRBackgroundRemoverOptions {
backgroundMeshes?: AbstractMesh[];
environmentHelperRemovalFlags?: { ground?: boolean; skyBox?: boolean };
ignoreEnvironmentHelper?: boolean;
}
backgroundMeshes?: AbstractMesh[];
environmentHelperRemovalFlags?: { ground?: boolean; skyBox?: boolean };
ignoreEnvironmentHelper?: boolean;
}
Index
Properties
Optionalbackground Meshes
Further background meshes to disable when entering AR
Optionalenvironment Helper Removal Flags
environmentHelperRemovalFlags?: { ground?: boolean; skyBox?: boolean }
flags to configure the removal of the environment helper. If not set, the entire background will be removed. If set, flags should be set as well.
Type Declaration
-
Optionalground?: booleanShould the ground be removed (default false)
-
OptionalskyBox?: booleanShould the skybox be removed (default false)
Optionalignore Environment Helper
ignoreEnvironmentHelper?: boolean
don't disable the environment helper
Options interface for the background remover plugin