UNPKG

three

Version:

JavaScript 3D library

16 lines (8 loc) 240 B
import Sampler from '../Sampler.js'; class NodeSampler extends Sampler { constructor( name, textureNode ) { super( name, textureNode ? textureNode.value : null ); this.textureNode = textureNode; } } export default NodeSampler;