CapitalizationOverride
EnumChanges the capitalization of the text component.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
Since Lens Scripting v385
Changes the capitalization of the text component. Useful when using dynamic texts.
Index
Example
// @input Component.Text textComponent
script.textComponent.capitalizationOverride = CapitalizationOverride.AllUpper;
Enumeration Members
AllLower
AllLower:
number
Sets the capitalization of the displayed text to lowercase.
Since
Lens Scripting Version 385
AllUpper
AllUpper:
number
Sets the capitalization of the displayed text to uppercase.
Since
Lens Scripting Version 385
None
None:
number
Display the capitalization of the displayed text as provided.
Since
Lens Scripting Version 385