unpack method
Implementation
MaterialT unpack() => MaterialT(
type: type,
baseColorFactor: baseColorFactor?.unpack(),
baseColorTexture: baseColorTexture,
metallicFactor: metallicFactor,
roughnessFactor: roughnessFactor,
metallicRoughnessTexture: metallicRoughnessTexture,
normalScale: normalScale,
normalTexture: normalTexture,
emissiveFactor: emissiveFactor?.unpack(),
emissiveTexture: emissiveTexture,
occlusionStrength: occlusionStrength,
occlusionTexture: occlusionTexture);