setEffect method

void setEffect(
  1. Effect effect, [
  2. MaterialDefines defines
])

Implementation

external void setEffect(Effect effect, [MaterialDefines defines]);