Function limitNodeWidth

#include <Geode/utils/cocos.hpp>voidlimitNodeWidth(,
floatwidth
,,)

Rescale node to fit inside given width

Parameters

node

Node to rescale

width

Width to fit inside

def

Default scale

min

Minimum scale
Examples0