DebugAppearance

new Cesium.DebugAppearance(options)

用于调试几何体切线空间的 Appearance。通常用于调试法线贴图问题。
Name Type Description
options object 具有以下属性的对象:
Name Type Description
glint boolean 如果为 true,则使用 glint 着色器来调试切线空间。
Example:
const appearance = new Cesium.DebugAppearance({
    glint : true
});
primitive.appearance = appearance;

Members

readonly fragmentShaderSource : string

获取用于渲染此外观的片段着色源。

readonly vertexShaderSource : string

获取用于渲染此外观的顶点着色源。
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.