MaterialSupport

确定类型的Material 该 API 由 MaterialAppearance 实例。 这是 灵活性(各种材料)和内存/性能 (需要顶点格式和 GLSL 着色器复杂性。

Members

static constant Cesium.MaterialAppearance.MaterialSupport.ALL : MaterialAppearance.MaterialSupportType

支持所有材质,包括在切线空间中工作的材质。 这需要 position, normal, st, tangent,和 bitangent顶点属性。

static constant Cesium.MaterialAppearance.MaterialSupport.BASIC : MaterialAppearance.MaterialSupportType

只需基本材料,只需要 positionnormal 顶点属性。

static constant Cesium.MaterialAppearance.MaterialSupport.TEXTURED : MaterialAppearance.MaterialSupportType

具有纹理的材质,需要 position, normal, 和 st 顶点属性 / 受支持。 绝大多数材料都属于这一类。
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.