LabelShadow Component Reference

The LabelShadow component can add shadow effects to the Label component, but only for system fonts or TTF fonts.

label-shadow

Click the Add Component button at the bottom of the Properties panel and select LabelShadow from Renderer Component to add the LabelShadow component to the node.

The LabelShadow component does not take effect when the Cache Mode property of the Label component is set to CHAR, except for the native platform, but the native platform also takes effect only when using TTF fonts.

LabelShadow script interface, please refer to LabelShadow API for details.

LabelShadow Properties

Properties Function Explanation
Color The shadow color
Offset Offset between font and shadow
Blur A non-negative float specifying the level of shadow blur

results matching ""

    No results matching ""