Appearance
helix / AttributeModifierValue
Class: AttributeModifierValue โ
Defined in: core/values/attribute-modifier.ts:16
A named change to an attribute: id, amount and how it combines.
Build one with AttributeModifier.add/multiplyBase/multiplyTotal/scale, then pass it to target.attribute(attr).apply(...).
Constructors โ
Constructor โ
new AttributeModifierValue(
id,amount,operation):AttributeModifierValue
Defined in: core/values/attribute-modifier.ts:17
Parameters โ
id โ
amount โ
number
operation โ
Returns โ
AttributeModifierValue
Properties โ
amount โ
readonlyamount:number
Defined in: core/values/attribute-modifier.ts:19
id โ
readonlyid:IdValue
Defined in: core/values/attribute-modifier.ts:18
operation โ
readonlyoperation:ModifierOperation
Defined in: core/values/attribute-modifier.ts:20