MCPcopy
hub / github.com/protectwise/troika / set

Function set

packages/troika-2d/src/facade/Object2DFacade.js:158–164  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

156 return (privateProp in this) ? this[privateProp] : defaultValue
157 },
158 set(value) {
159 let lastVal = this[privateProp]
160 if (lastVal !== value) {
161 this[privateProp] = value
162 this._matrixChanged = true
163 }
164 }
165 })
166}
167defineTransformProp('x', 0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected