defineNodeAttribute
method
Back to Helios Network JS/WASM API
- Kind
- method
- Source
- src/js/HeliosNetwork.js:5678
Description
Defines a node attribute backed by linear WASM memory.
Signature
Parameters
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
name | string | Attribute identifier. | ||
type | AttributeType | Attribute type constant. | ||
dimension | number | optional | 1 | Number of elements per node. |
Returns
Type
void