Skip to content

KBE3D / KBCore / Cesium / GeometryPipeline / compressVertices

函数: compressVertices()

compressVertices(geometry: Geometry): Geometry

Compresses and packs geometry normal attribute values to save memory.

参数

geometry

Geometry

The geometry to modify.

返回

Geometry

The modified geometry argument, with its normals compressed and packed.

示例

ts
geometry = Cesium.GeometryPipeline.compressVertices(geometry);

KBE3D @3.0.0 Copyright © 2024-present KBE3D