Skip to content

Geometry.setWasmAttributes

Summary

Geometry.setWasmAttributes() updates several borrowed vertex and index sources as one operation.

Syntax

Geometry.setWasmAttributes(sources: GeometryWasmSources, options?: GeometryWasmAttributeSetOptions): void

Notes

Source keys are positions, normals, tangents, uvs, uvs1, joints, weights, joints1, weights1, and indices; explicit null detaches a channel. CPU and WebAssembly sources are mutually exclusive per attribute.

See Also