/
fadaliastro
/
MGFI
Обзор
Документация
Войти
/
fadaliastro
/
MGFI
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
node_modules/three/src/objects/Bone.js
41 строка
612 B
Fa-Dali
Initial commit
28 янв 2026, 00:16
28 янв 2026, 00:16
d5a5086
Код
Авторство
О чём код?
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 };