MaterialObjectBuilder constructor

MaterialObjectBuilder({
  1. MaterialType? type,
  2. ColorObjectBuilder? baseColorFactor,
  3. int? baseColorTexture,
  4. double? metallicFactor,
  5. double? roughnessFactor,
  6. int? metallicRoughnessTexture,
  7. double? normalScale,
  8. int? normalTexture,
  9. Vec3ObjectBuilder? emissiveFactor,
  10. int? emissiveTexture,
  11. double? occlusionStrength,
  12. int? occlusionTexture,
})

Implementation

MaterialObjectBuilder({
  MaterialType? type,
  ColorObjectBuilder? baseColorFactor,
  int? baseColorTexture,
  double? metallicFactor,
  double? roughnessFactor,
  int? metallicRoughnessTexture,
  double? normalScale,
  int? normalTexture,
  Vec3ObjectBuilder? emissiveFactor,
  int? emissiveTexture,
  double? occlusionStrength,
  int? occlusionTexture,
})
    : _type = type,
      _baseColorFactor = baseColorFactor,
      _baseColorTexture = baseColorTexture,
      _metallicFactor = metallicFactor,
      _roughnessFactor = roughnessFactor,
      _metallicRoughnessTexture = metallicRoughnessTexture,
      _normalScale = normalScale,
      _normalTexture = normalTexture,
      _emissiveFactor = emissiveFactor,
      _emissiveTexture = emissiveTexture,
      _occlusionStrength = occlusionStrength,
      _occlusionTexture = occlusionTexture;