MCPcopy Create free account
hub / github.com/Barrior/JParticles / updatePlainOptions

Method updatePlainOptions

src/wave.ts:335–343  ·  view source on GitHub ↗

* 更新简单选项值(直接赋值) * @param property 选项属性 * @param newValue 新值

(
    option: PlainOptions,
    newValue?: ValueOf<Pick<Options, PlainOptions>>
  )

Source from the content-addressed store, hash-verified

333 * @param newValue 新值
334 */
335 protected updatePlainOptions(
336 option: PlainOptions,
337 newValue?: ValueOf<Pick<Options, PlainOptions>>
338 ): void {
339 this.options[option] = newValue as never
340 if (option === 'mask') {
341 this.loadMaskImage()
342 }
343 }
344
345 /**
346 * 动态设置 options 选项值

Callers 1

setOptionsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected