Files
appRobotSimulation/node_modules/three/examples/jsm/renderers/common/nodes/NodeSampler.js
2026-02-01 13:40:05 +01:00

16 lines
240 B
JavaScript

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