MeshPhysicalMaterial constructor
MeshPhysicalMaterial([
- dynamic parameters
Implementation
MeshPhysicalMaterial([parameters]) : super(parameters) {
clearcoatRoughness = 0.0;
type = 'MeshPhysicalMaterial';
clearcoatNormalScale = Vector2(1, 1);
thickness = 0.0;
attenuationColor = Color(1, 1, 1);
attenuationDistance = 0.0;
specularIntensity = 1.0;
specularColor = Color(1, 1, 1);
ior = 1.5;
defines = {'STANDARD': '', 'PHYSICAL': ''};
setValues(parameters);
}