setAmbientFactor abstract method

void setAmbientFactor(
  1. double factor
)

Sets the ambient factor used when computing lighting.

Default is 0.0.

  • factor The ambient lighting factor in range 0.0 to 1.0.

Implementation

void setAmbientFactor(double factor);