apply method

void apply(
  1. Shader shader
)

Implementation

void apply(Shader shader) {
  shader.setColor('AmbientLight.color', color);
  shader.setFloat('AmbientLight.intensity', intensity);
}