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

Function SetPropertyFromFloat

engine/gameobject/src/gameobject/gameobject.cpp:4134–4140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4132 }
4133
4134 PropertyResult SetPropertyFromFloat(HInstance instance, dmhash_t component_id, dmhash_t property_id, float value)
4135 {
4136 PropertyOptions options;
4137 PropertyVar prop_value(value);
4138 PropertyResult r = SetProperty(instance, component_id, property_id, options, prop_value);
4139 return r;
4140 }
4141
4142 PropertyResult SetPropertyFromVector3(HInstance instance, dmhash_t component_id, dmhash_t property_id, dmVMath::Vector3 value)
4143 {

Callers 1

TEST_FFunction · 0.85

Calls 1

SetPropertyFunction · 0.70

Tested by 1

TEST_FFunction · 0.68