Skip to content

KBE3D / KBCore / Cesium / GeometryAttributes

类: GeometryAttributes

Attributes, which make up a geometry's vertices. Each property in this object corresponds to a GeometryAttribute containing the attribute's data. <p> Attributes are always stored non-interleaved in a Geometry. </p>

属性

position

position: GeometryAttribute | undefined

The 3D position attribute. <p> 64-bit floating-point (for precision). 3 components per attribute. </p>


normal

normal: GeometryAttribute | undefined

The normal attribute (normalized), which is commonly used for lighting. <p> 32-bit floating-point. 3 components per attribute. </p>


st

st: GeometryAttribute | undefined

The 2D texture coordinate attribute. <p> 32-bit floating-point. 2 components per attribute </p>


bitangent

bitangent: GeometryAttribute | undefined

The bitangent attribute (normalized), which is used for tangent-space effects like bump mapping. <p> 32-bit floating-point. 3 components per attribute. </p>


tangent

tangent: GeometryAttribute | undefined

The tangent attribute (normalized), which is used for tangent-space effects like bump mapping. <p> 32-bit floating-point. 3 components per attribute. </p>


color

color: GeometryAttribute | undefined

The color attribute. <p> 8-bit unsigned integer. 4 components per attribute. </p>

构造函数

构造函数

new GeometryAttributes(): GeometryAttributes

返回

GeometryAttributes

KBE3D @3.0.0 Copyright © 2024-present KBE3D