From 0df94e8232a6391b7e77ea9273e30242f6e24713 Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Tue, 24 Sep 2024 22:25:35 -0400 Subject: [PATCH] SkeletonUtils: added hipInfluence (#1265) --- types/three/examples/jsm/utils/SkeletonUtils.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/types/three/examples/jsm/utils/SkeletonUtils.d.ts b/types/three/examples/jsm/utils/SkeletonUtils.d.ts index 8a20c2501..e447ca098 100644 --- a/types/three/examples/jsm/utils/SkeletonUtils.d.ts +++ b/types/three/examples/jsm/utils/SkeletonUtils.d.ts @@ -1,13 +1,14 @@ -import { AnimationClip, Object3D, Skeleton } from "three"; +import { AnimationClip, Object3D, Skeleton, Vector3 } from "three"; export interface RetargetOptions { preserveBoneMatrix?: boolean | undefined; - preserveBonePositions?: boolean | undefined; preserveHipPosition?: boolean | undefined; useTargetMatrix?: boolean | undefined; hip?: string | undefined; + hipInfluence?: Vector3 | undefined; scale?: number | undefined; names?: { [boneName: string]: string } | undefined; + hipPosition?: Vector3 | undefined; } declare function retarget(target: Object3D | Skeleton, source: Object3D | Skeleton, options: {}): void;