vendor: 702 bytes, lines 1-41
1import { Object3D } from '../core/Object3D.js'; 2 3/** 4 * This is almost identical to an {@link Object3D}. Its purpose is to 5 * make working with groups of objects syntactically clearer. 6 * 7 * ```js 8 * // Create a group and add the two cubes. 9 * // These cubes can now be rotated / scaled etc as a group. 10 * const group = new THREE.Group(); 11 * 12 * group.add( meshA ); 13 * group.add( meshB ); 14 * 15 * scene.add( group ); 16 * ``` 17 * 18 * @augments Object3D 19 */ 20class Group extends Object3D { 21 22 constructor() { 23 24 super(); 25 26 /** 27 * This flag can be used for type testing. 28 * 29 * @type {boolean} 30 * @readonly 31 * @default true 32 */ 33 this.isGroup = true; 34 35 this.type = 'Group'; 36 37 } 38 39} 40 41export { Group };
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.