Options
All
  • Public
  • Public/Protected
  • All
Menu

Options for DynamicMovement component

Hierarchy

  • IDynamicMovementOpts

Index

Properties

bFilter

bFilter: boolean

Enable bilinear filtering

blend

blend: boolean

Enables blending. Set alpha in EEL to control belnding

code

code: object

EEL code to control the movement of pixels

EEL Variables:

  • x: (ReadWrite, perPixel, RECT mode) - Current x position. Set this value to move pixel to new position
  • y: (ReadWrite, perPixel, RECT mode) - Current y position. Set this value to move pixel to new position
  • d: (ReadWrite, perPixel, POLAR mode) - Current distance from center. Set this value to move pixel to new position
  • r: (ReadWrite, perPixel, POLAR mode) - Current angle. Set this value to move pixel to new location
  • alpha: (ReadWrite, perPixel) - When blend mode is enabled this sets the alpha of the new pixel
  • b: (Read, onBeat/perFrame/perPixel) - 0/1 value indicate a beat

Type declaration

  • init: string

    EEL that'll be run on init

  • onBeat: string

    EEL code that's run on beat

  • perFrame: string

    EEL code that will be run once per frame

  • perPixel: string

    EEL code that will be run once per pixel or grid point

compat

compat: boolean

Enable AVS compatibility mode.

coord

coord: string

Coordinate mode. see DynamicMovementCoordMode

gridH

gridH: number

When noGrid is true. This indicates the height of the grids. Default: 16

gridW

gridW: number

When noGrid is true. This indicates the width of the grids. Default: 16

noGrid

noGrid: boolean

If true then no grids are used. Movement is computed for every pixel.