@equinor/videx-3d
    Preparing search index...

    Function defaultMaterialOptions

    • A custom function may be passed to the component, but this is not well documented at this time as this behavior is subject to change.

      Parameters

      Returns {
          inner: { color: string; metalness: number; roughness: number };
          primary: {
              color: string;
              effects: { weathering: { resistance: number } };
              metalness: number;
              roughness: number;
          };
          slice: | {
              color: Color;
              effects: { weathering: { resistance: number } };
              metalness: number;
              roughness: number;
          }
          | {
              color: Color;
              effects?: undefined;
              metalness: number;
              roughness: number;
          };
      }