⬅️ Back to Table of Contents
📄 InstancedMeshNode.js
📊 Analysis Summary
Metric |
Count |
🧱 Classes |
1 |
📦 Imports |
2 |
📚 Table of Contents
🛠️ File Location:
📂 src/nodes/accessors/InstancedMeshNode.js
📦 Imports
Name |
Source |
InstanceNode |
./InstanceNode.js |
nodeProxy |
../tsl/TSLBase.js |
Classes
InstancedMeshNode
Class Code
class InstancedMeshNode extends InstanceNode {
static get type() {
return 'InstancedMeshNode';
}
/**
* Constructs a new instanced mesh node.
*
* @param {InstancedMesh} instancedMesh - The instanced mesh.
*/
constructor( instancedMesh ) {
const { count, instanceMatrix, instanceColor } = instancedMesh;
super( count, instanceMatrix, instanceColor );
/**
* A reference to the instanced mesh.
*
* @type {InstancedMesh}
*/
this.instancedMesh = instancedMesh;
}
}