PointsMaterial constructor

PointsMaterial([
  1. Map<MaterialProperty, dynamic>? parameters
])

parameters - (optional) an object with one or more properties defining the material's appearance. Any property of the material (including any property inherited from Material and MeshStandardMaterial) can be passed in here.

The exception is the property color, which can be passed in as a hexadecimal int and is 0xffffff (white) by default. Color is called internally.

Implementation

PointsMaterial([Map<MaterialProperty, dynamic>? parameters]) {
  _init();
  setValues(parameters);
}