Files
Basalt2/docs/references/propertySystem.md
2025-02-16 19:31:38 +00:00

1.6 KiB

PropertySystem

Functions

Method Returns Description
PropertySystem.addSetterHook -
PropertySystem.blueprint table
PropertySystem.combineProperties -
PropertySystem.createFromBlueprint -
PropertySystem.defineProperty -
PropertySystem:__init -
PropertySystem:_updateProperty -
PropertySystem:getPropertyConfig -
PropertySystem:instanceProperty -
PropertySystem:observe -
PropertySystem:removeAllObservers -
PropertySystem:removeObserver -
PropertySystem:removeProperty -

PropertySystem.addSetterHook()

PropertySystem.blueprint(elementClass)

Creates a blueprint of an element class with all its properties

Parameters

  • elementClass table The element class to create a blueprint from

Returns

  • table blueprint A table containing all property definitions

PropertySystem.combineProperties()

PropertySystem.createFromBlueprint()

PropertySystem.defineProperty()

PropertySystem:__init()

PropertySystem:_updateProperty()

PropertySystem:getPropertyConfig()

PropertySystem:instanceProperty()

PropertySystem:observe()

PropertySystem:removeAllObservers()

PropertySystem:removeObserver()

PropertySystem:removeProperty()