MCPcopy Create free account
hub / github.com/defold/defold / GetPropertyDesc

Function GetPropertyDesc

engine/gui/src/gui.cpp:150–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148 };
149
150 PropDesc* GetPropertyDesc(dmhash_t property_hash)
151 {
152 int n_props = sizeof(g_Properties) / sizeof(g_Properties[0]);
153 for (int i = 0; i < n_props; ++i) {
154 PropDesc* pd = &g_Properties[i];
155 if (pd->m_Hash == property_hash) {
156 return pd;
157 }
158 }
159 return 0;
160 }
161
162 const char* GetResultLiteral(Result result)
163 {

Callers 6

HasPropertyHashFunction · 0.85
GetNodePropertyHashFunction · 0.85
AnimateNodeHashFunction · 0.85
CancelAnimationHashFunction · 0.85
LuaGetFunction · 0.85
LuaSetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected