Files
Basalt2/docs/references/propertySystem.md
2025-02-13 09:51:51 +00:00

1.2 KiB

PropertySystem

Functions

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

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.createFromBlueprint()

PropertySystem.defineProperty()

PropertySystem:__init()

PropertySystem:_updateProperty()

PropertySystem:getPropertyConfig()

PropertySystem:instanceProperty()

PropertySystem:observe()

PropertySystem:removeProperty()