setWithCredentials method

  1. @override
TextureLoader setWithCredentials(
  1. bool value
)
override

Whether the XMLHttpRequest uses credentials such as cookies, authorization headers or TLS client certificates. See XMLHttpRequest.withCredentials.

Note that this has no effect if you are loading files locally or from the same domain.

Implementation

@override
TextureLoader setWithCredentials(bool value) {
  super.setWithCredentials(value);
  return this;
}