setSoftShadowOptions method

  1. @override
Future setSoftShadowOptions(
  1. double penumbraScale,
  2. double penumbraRatioScale
)
override

Set soft shadow options (ShadowType DPCF and PCSS)

Implementation

@override
Future setSoftShadowOptions(
    double penumbraScale, double penumbraRatioScale) async {
  _module.ccall(
      "set_soft_shadow_options",
      "void",
      ["void*".toJS, "float".toJS, "float".toJS].toJS,
      [_viewer!, penumbraScale.toJS, penumbraRatioScale.toJS].toJS,
      null);
}