GeometryAttributes

open 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
external var color: GeometryAttribute?

The color attribute.

Link copied to clipboard
external var normal: GeometryAttribute?

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

Link copied to clipboard

The 3D position attribute.

Link copied to clipboard
external var st: GeometryAttribute?

The 2D texture coordinate attribute.

Link copied to clipboard
external var tangent: GeometryAttribute?

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