コンテンツにスキップ

Profile

端末ごとの品質の設定。オブジェクトごとに項目を分ける。

Viewer.applyDeviceProfile に渡すときは全項目を書く。 1 項目だけ変えるときは Viewer.overrideDeviceProfile に ProfileOverride を渡す。

Properties

atmosphere

readonly atmosphere: Quality

大気の品質 (Atmosphere.setQuality)。"minimal" は HDR の経路そのものを止める


b3d

b3d: B3dSettings

B3D (B3dScene) の設定。既存のシーンと、以後に作るシーンの既定の両方に当てる


pixel_ratio

readonly pixel_ratio: number

CSS ピクセルとキャンバスピクセルの解像度比 (Viewer.pixel_ratio)。

1 未満にすると描画解像度が下がり、描画負荷がほぼ二乗で減る。


point_cloud

readonly point_cloud: PointCloudSettings

点群 (PointCloud) の設定。既存の点群と、以後に作る点群の既定の両方に当てる


post_process

readonly post_process: PostProcessQuality

後処理 (HDR・bloom・sun shafts・tonemap) の品質 (RenderEffects.setPostProcessQuality)


terrain

readonly terrain: TerrainSettings

地形の設定


tiles3d

tiles3d: Tiles3DSettings

3D Tiles (Tiles3DScene) の設定。既存のシーンと、以後に作るシーンの既定の両方に当てる


water

readonly water: Quality

水面の既定の品質 (WaterPolygonEntityVisualizer.setQuality)。

当てると、次に描くフレームから、既にある水面も含めて全水面がこの品質で描かれる。 当てた後に水面ごとに setQuality を呼べば、その水面だけそちらが効く。