Class: DuAEPropertyExpression

DuAEPropertyExpression

This class describes an expression and the property containing it.
It is used by the cache engine of DuAEF to work on expressions without applying them and improve performance.
This class is very similar to DuAEProperty except it is lighter and faster, to improve the performance of the expression cache.

new DuAEPropertyExpression(property)

D:/RxLab/src/RxOT/DuAEF/Duik/Duik_API/DuAEF_Duik_api.jsxinc, line 16866
Constructs a new DuAEPropertyExpression
Name Type Description
property PropertyBase | DuAEPropertyExpression | DuAEProperty The property. If a DuAEPropertyExpression is provided, the constructor returns it (it does not make a copy).
This makes it easy to avoid type checking, as you can always pass any property or DuAEPropertyExpression to the constructor to be sure to handle a DuAEPropertyExpression, without any impact on performance.

Members

changedBoolean

true if the expression has been changed in the cache and needs to be re-applied to the property.

compCompItem

The original composition containing the expression

emptyBoolean

true if there's no expression in this property

expressionstring

The expression in the property

isEffectBoolean

true if the property belongs to an effect.

layerLayerItem

The original layer containing the expression

parentIndicesArray.<int>

The Array containing the indices in all parent property groups containing this property.
This is used to retrieve the property in case the object becomes invalid.

propertyPropertyBase

The original property containing the expression

Methods

apply()

D:/RxLab/src/RxOT/DuAEF/Duik/Duik_API/DuAEF_Duik_api.jsxinc, line 16998
Applies the expression back to the actual properties in After Effects, if and only if it's been modified.

getProperty(){PropertyBase}

D:/RxLab/src/RxOT/DuAEF/Duik/Duik_API/DuAEF_Duik_api.jsxinc, line 16981
Returns the original property, fixing it if the object has become invalid.
Returns:
Type Description
PropertyBase The property.