Interface EquiRectangularCaptureOptions
interface EquiRectangularCaptureOptions {
filename?: string;
meshesFilter?: (mesh: AbstractMesh) => boolean;
position?: Vector3;
probe?: ReflectionProbe;
size: number;
}
filename?: string;
meshesFilter?: (mesh: AbstractMesh) => boolean;
position?: Vector3;
probe?: ReflectionProbe;
size: number;
}
Properties
Optionalfilename
filename?: string
Optional argument to specify filename, passing this would auto download the given file
Optionalmeshes Filter
Optional function to map which meshes should get rendered on the equirectangular map This is specifically helpful when you have certain meshes that you want to skip, especially ground
Optionalposition
Optional argument to specify position in 3D Space from where the equirectangular capture should be taken, if not specified, it would take the position of the scene's active camera or else origin
Optionalprobe
Optional argument to specify probe with which the equirectangular image is generated When passing this, size and position arguments are ignored
size
size: number
This option relates to smallest dimension of the given equirectangular capture Giving a 512px size would result in an image that 512 x 1024px
Interface containing options related to equirectangular capture of the current scene