EffectPropertySource
Type
operator
Summary
The source of an effect.
Syntax
the source of <mEffect>
Description
The source of mEffect as a string. Can be one of "center" or "edge". Source applies to inner glow effects and determines where the glow extends from. Defaults to "edge".
Parameters
Name | Type | Description |
---|---|---|
mEffect | An expression which evaluates to an effect. |
Examples
// Create an effect with source set to "center"
variable tProps as Array
put the empty array into tProps
put "center" into tProps["source"]
variable tEffect as Effect
put inner glow effect with properties tProps into tEffect
// Set the effect source to "edge"
set the source of tEffect to "edge"