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

Function SetPropertyFromHash

engine/gameobject/src/gameobject/gameobject.cpp:4126–4132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4124 }
4125
4126 PropertyResult SetPropertyFromHash(HInstance instance, dmhash_t component_id, dmhash_t property_id, dmhash_t value)
4127 {
4128 PropertyOptions options;
4129 PropertyVar prop_value(value);
4130 PropertyResult r = SetProperty(instance, component_id, property_id, options, prop_value);
4131 return r;
4132 }
4133
4134 PropertyResult SetPropertyFromFloat(HInstance instance, dmhash_t component_id, dmhash_t property_id, float value)
4135 {

Callers 1

TEST_FFunction · 0.85

Calls 1

SetPropertyFunction · 0.70

Tested by 1

TEST_FFunction · 0.68