MaterialObjectBuilder constructor
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,
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;