(value: V)
| 115 | |
| 116 | getValue(): V {return this.#value} |
| 117 | setValue(value: V): void { |
| 118 | const oldValue = this.#value |
| 119 | const newValue = this.clamp(value) |
| 120 | if (this.equals(newValue)) {return} |
| 121 | this.#value = newValue |
| 122 | this.graph.onPrimitiveValueUpdate(this, oldValue, newValue) |
| 123 | } |
| 124 | writeValue(output: ByteArrayOutput, value: V): void { |
| 125 | assert(!this.deprecated, "PrimitiveField.write: deprecated field") |
| 126 | this.serialization().encode(output, value) |
nothing calls this directly
no test coverage detected