Developer Site
Blog
Discord
Forum
GitHub
Preparing search index...
The search index is not available
PlayCanvas API Reference
PlayCanvas API Reference
Engine
FITMODE_CONTAIN
Variable FITMODE_CONTAIN
Const
FITMODE_CONTAIN
:
string
= 'contain'
Fit the content within the Element's bounding box while preserving its Aspect Ratio.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Developer Site
Blog
Discord
Forum
GitHub
PlayCanvas API Reference
Loading...
Fit the content within the Element's bounding box while preserving its Aspect Ratio.