PHP 7.4.33
Preview: Bone.js Size: 612 B
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/three/src/objects/Bone.js
import { Object3D } from '../core/Object3D.js';

/**
 * A bone which is part of a {@link Skeleton}. The skeleton in turn is used by
 * the {@link SkinnedMesh}.
 *
 * ```js
 * const root = new THREE.Bone();
 * const child = new THREE.Bone();
 *
 * root.add( child );
 * child.position.y = 5;
 * ```
 *
 * @augments Object3D
 */
class Bone extends Object3D {

	/**
	 * Constructs a new bone.
	 */
	constructor() {

		super();

		/**
		 * This flag can be used for type testing.
		 *
		 * @type {boolean}
		 * @readonly
		 * @default true
		 */
		this.isBone = true;

		this.type = 'Bone';

	}

}

export { Bone };

Directory Contents

Dirs: 0 × Files: 14
Name Size Perms Modified Actions
45.51 KB lrw-r--r-- 2025-03-28 11:04:37
Edit Download
612 B lrw-r--r-- 2025-03-28 11:04:37
Edit Download
1.30 KB lrw-r--r-- 2025-03-28 11:04:38
Edit Download
702 B lrw-r--r-- 2025-03-28 11:04:38
Edit Download
10.04 KB lrw-r--r-- 2025-03-28 11:04:38
Edit Download
8.12 KB lrw-r--r-- 2025-03-28 11:04:38
Edit Download
730 B lrw-r--r-- 2025-03-28 11:04:38
Edit Download
1.59 KB lrw-r--r-- 2025-03-28 11:04:38
Edit Download
6.33 KB lrw-r--r-- 2025-03-28 11:04:38
Edit Download
11.92 KB lrw-r--r-- 2025-03-28 11:04:38
Edit Download
5.58 KB lrw-r--r-- 2025-03-28 11:04:39
Edit Download
7.70 KB lrw-r--r-- 2025-03-28 11:04:39
Edit Download
8.47 KB lrw-r--r-- 2025-03-28 11:04:39
Edit Download
5.98 KB lrw-r--r-- 2025-03-28 11:04:39
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).