MaterialT constructor

MaterialT({
  1. MaterialType type = MaterialType.kUnlit,
  2. ColorT? baseColorFactor,
  3. int baseColorTexture = -1,
  4. double metallicFactor = 0.0,
  5. double roughnessFactor = 0.5,
  6. int metallicRoughnessTexture = -1,
  7. double normalScale = 1.0,
  8. int normalTexture = -1,
  9. Vec3T? emissiveFactor,
  10. int emissiveTexture = -1,
  11. double occlusionStrength = 1.0,
  12. int occlusionTexture = -1,
})

Implementation

MaterialT({
    this.type = MaterialType.kUnlit,
    this.baseColorFactor,
    this.baseColorTexture = -1,
    this.metallicFactor = 0.0,
    this.roughnessFactor = 0.5,
    this.metallicRoughnessTexture = -1,
    this.normalScale = 1.0,
    this.normalTexture = -1,
    this.emissiveFactor,
    this.emissiveTexture = -1,
    this.occlusionStrength = 1.0,
    this.occlusionTexture = -1});