GeometryAttributes

external class GeometryAttributes(source)

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.

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The bitangent attribute (normalized), which is used for tangent-space effects like bump mapping.

Link copied to clipboard

The color attribute.

Link copied to clipboard

The normal attribute (normalized), which is commonly used for lighting.

Link copied to clipboard

The 3D position attribute.

Link copied to clipboard

The 2D texture coordinate attribute.

Link copied to clipboard

The tangent attribute (normalized), which is used for tangent-space effects like bump mapping.