SetMeta

Adds metadata on curve based on the given index.

Syntax

<Curve Editor Object> SetMeta <curveId>, <key>, <val>

Description

Adds user-defined data to the curve. This method can be used to store private values for each curve. Currently, any metadata with prefix “HM” will be shown in Entity Editor.

Arguments

curveId
The curve ID.
key
The name of the metadata.
val
The value of the metadata.

Returns

None.

Example

$editor SetMeta 1 HMid 1