Developer Site
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
Private
Inherited
External
Theme
OS
Light
Dark
PlayCanvas API Reference
Loading...
Fit the content within the Element's bounding box while preserving its Aspect Ratio.