copy method
MeshBasicMaterial
copy(
- Material source
override
Implementation
MeshBasicMaterial copy(Material source) {
if (source is MeshBasicNodeMaterial) {
this.colorNode = source.colorNode;
this.opacityNode = source.opacityNode;
this.alphaTestNode = source.alphaTestNode;
this.lightNode = source.lightNode;
this.positionNode = source.positionNode;
}
return super.copy(source);
}