Capítulo 3 de 859
This is almost identical to an Object3D. Its purpose is to make working with groups of objects syntactically clearer.
// Create a group and add the two cubes.
// These cubes can now be rotated / scaled etc as a group.
const group = new THREE.Group();
group.add( meshA );
group.add( meshB );
scene.add( group );
Constructor
| Signature |
|---|
new Group() |
Properties
| Property | Description |
|---|---|
.isGroup : boolean (readonly) | This flag can be used for type testing. |