确定类型 Determines the type of
Material 这是由一个支持 that is supported by a
MaterialAppearance 实例。这是灵活性(多种材质)和内存/性能(所需的顶点格式和 GLSL 着色器复杂性)之间的权衡。 instance. This is a trade-off between flexibility (a wide array of materials) and memory/performance (required vertex format and GLSL shader complexity.成员 Members
static constant Cesium.MaterialAppearance.MaterialSupport.ALL : MaterialAppearance.MaterialSupportType
支持所有材质,包括在切线空间中工作的材质。这需要 All materials, including those that work in tangent space, are supported. This requires
position, normal, st,
tangent, 和 , and bitangent 顶点属性。 vertex attributes.
static constant Cesium.MaterialAppearance.MaterialSupport.BASIC : MaterialAppearance.MaterialSupportType
只需要基本材料, Only basic materials, which require just
position and
normal 支持顶点属性。 vertex attributes, are supported.
static constant Cesium.MaterialAppearance.MaterialSupport.TEXTURED : MaterialAppearance.MaterialSupportType
有纹理的材料,需要 Materials with textures, which require
position,
normal, 和 , and st 支持顶点属性。绝大多数材料都属于这一类。 vertex attributes, are supported. The vast majority of materials fall into this category.
