new ShadowEffectAction()

Description

Applies a shadow filter to the asset.

Details

Visit Effect for an example

Methods


strength( strength ) → {this}

Description

The strength of the shadow. (Range: 0 to 100, Server default: 40)

Parameters
Name Type Description
strength number
Returns

getActionTag() → {string}

Description

Returns the custom name tag that was given to this action

Returns

offsetX( x ) → {this}

Description

The X offset the shadow

Parameters
Name Type Description
x number | SDK.ExpressionQualifier
Returns

setActionTag() → {this}

Description

Sets the custom name tag for this action

Returns

offsetY( y ) → {this}

Description

The Y offset the shadow

Parameters
Name Type Description
y number | SDK.ExpressionQualifier
Returns

toString() → {string}

Description

Calls toString() on all child qualifiers (implicitly by using .join()).

Returns
Details

color( color ) → {this}

Description

The color of the shadow (Server default: gray)

Parameters
Name Type Description
color
Returns

addQualifier( qualifier ) → {this}

Description

Adds the parameter to the action.

Parameters
Name Type Description
qualifier SDK.Qualifier
Returns

addFlag( flag ) → {this}

Description

Adds a flag to the current action.

Parameters
Name Type Description
flag Qualifiers.Flag
Returns
Details