English中文

GeometryAttributes

new Cesium.GeometryAttributes()

属性,构成几何体的顶点。该对象中的每个属性都对应一个 Attributes, which make up a geometry's vertices. Each property in this object corresponds to a GeometryAttribute 包含属性的数据。 containing the attribute's data.

属性始终以非交错方式存储在几何图形中。 Attributes are always stored non-interleaved in a Geometry.

成员 Members

双切线属性(标准化),用于切线空间效果,例如凹凸贴图。 The bitangent attribute (normalized), which is used for tangent-space effects like bump mapping.

32 位浮点。每个属性 3 个组件。 32-bit floating-point. 3 components per attribute.

默认值: Default Value: undefined
颜色属性。 The color attribute.

8 位无符号整数。每个属性 4 个组件。 8-bit unsigned integer. 4 components per attribute.

默认值: Default Value: undefined
法线属性(标准化),常用于照明。 The normal attribute (normalized), which is commonly used for lighting.

32 位浮点。每个属性 3 个组件。 32-bit floating-point. 3 components per attribute.

默认值: Default Value: undefined
3D 位置属性。 The 3D position attribute.

64 位浮点(用于精度)。每个属性 3 个组件。 64-bit floating-point (for precision). 3 components per attribute.

默认值: Default Value: undefined
2D 纹理坐标属性。 The 2D texture coordinate attribute.

32 位浮点。每个属性 2 个组件 32-bit floating-point. 2 components per attribute

默认值: Default Value: undefined
切线属性(标准化),用于切线空间效果,例如凹凸贴图。 The tangent attribute (normalized), which is used for tangent-space effects like bump mapping.

32 位浮点。每个属性 3 个组件。 32-bit floating-point. 3 components per attribute.

默认值: Default Value: undefined
需要帮助吗?获得答案的最快方法是从社区和团队那里获得答案 Need help? The fastest way to get answers is from the community and team on the Cesium Forum.