UNPKG

v3d-core

Version:

WebGL-based humanoid model rendering engine.

26 lines (25 loc) 885 B
/** Copyright (c) 2021 The v3d Authors. All rights reserved. * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ import { Nullable, Scene, SceneOptimizer, SceneOptimizerOptions } from "@babylonjs/core"; export declare class V3DSceneOptimizer { private readonly scene; /** * Customized scene optimizer options. * @private */ private _options; get options(): SceneOptimizerOptions; set options(value: SceneOptimizerOptions); /** * SceneOptimizer * @private */ private readonly _optimizer; get optimizer(): SceneOptimizer; constructor(scene: Scene, options?: Nullable<SceneOptimizerOptions>); private static CustomOptimizerOptions; private setupFocusEvents; }