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

Function SetScale

engine/particle/src/particle.cpp:562–567  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

560 }
561
562 void SetScale(HParticleContext context, HInstance instance, float scale)
563 {
564 Instance* i = GetInstance(context, instance);
565 if (!i) return;
566 i->m_WorldTransform.SetScale(scale);
567 }
568
569 Vector3 GetPosition(HParticleContext context, HInstance instance)
570 {

Callers 1

TEST_FFunction · 0.50

Calls 2

GetInstanceFunction · 0.70
SetScaleMethod · 0.45

Tested by 1

TEST_FFunction · 0.40