Skip to main content

Interface: PropOptions<Ext, Int>

Defined in: attributes/properties/decorator.ts:3

Type Parameters

Ext

Ext

Int

Int

Properties

mapper?

optional mapper?: (ext, prev?) => Int

Defined in: attributes/properties/decorator.ts:7

Converts the external input into the internal stored value. Receives the previous internal value as the second arg when available.

Parameters

ext

Ext

prev?

Int

Returns

Int


tween?

optional tween?: TweenFn<Int>

Defined in: attributes/properties/decorator.ts:5

Lerp the internal (post-mapper) value during to().