Gamesystem gui component

Per-property registration functions for GUI component extensions.

Namespace: dmGameSystem
Include: #include <dmsdk/gamesys/components/comp_gui.h>
TYPES
CompGuiPropertyGetterFn GUI component property getter function
CompGuiPropertySetterFn GUI component property setter function

Types

CompGuiPropertyGetterFn

dmGameObject::PropertyResult CompGuiPropertyGetterFn(dmGui::HScene scene, dmGameObject::ComponentGetPropertyParams params, dmGameObject::PropertyDesc& out_value)

GUI component property getter function

PARAMETERS

dmGui::HScene scene The GUI scene
dmGameObject::ComponentGetPropertyParams params Property parameters
dmGameObject::PropertyDesc& out_value Output value

RETURNS

dmGameObject::PropertyResult PROPERTY_RESULT_OK on success


CompGuiPropertySetterFn

dmGameObject::PropertyResult CompGuiPropertySetterFn(dmGui::HScene scene, dmGameObject::ComponentSetPropertyParams params)

GUI component property setter function

PARAMETERS

dmGui::HScene scene The GUI scene
dmGameObject::ComponentSetPropertyParams params Property parameters

RETURNS

dmGameObject::PropertyResult PROPERTY_RESULT_OK on success