Skip to content

Commit

Permalink
Addons: Deprecate MMD modules. (#1356)
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 authored Nov 10, 2024
1 parent 0290594 commit 3c60c30
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions types/three/examples/jsm/animation/MMDAnimationHelper.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ export interface MMDAnimationHelperMixer {
duration?: number | undefined;
}

/**
* @deprecated The module has been deprecated and will be removed with r172. Please migrate to
* https://github.com/takahirox/three-mmd-loader instead.
*/
export class MMDAnimationHelper {
constructor(params?: MMDAnimationHelperParameter);
meshes: SkinnedMesh[];
Expand Down
4 changes: 4 additions & 0 deletions types/three/examples/jsm/animation/MMDPhysics.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ export interface MMDPhysicsParameter {
gravity?: Vector3 | undefined;
}

/**
* @deprecated The module has been deprecated and will be removed with r172. Please migrate to
* https://github.com/takahirox/three-mmd-loader instead.
*/
export class MMDPhysics {
constructor(
mesh: SkinnedMesh,
Expand Down
4 changes: 4 additions & 0 deletions types/three/examples/jsm/exporters/MMDExporter.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import { Object3D } from "three";

/**
* @deprecated The module has been deprecated and will be removed with r172. Please migrate to
* https://github.com/takahirox/three-mmd-loader instead.
*/
export class MMDExporter {
constructor();

Expand Down
4 changes: 4 additions & 0 deletions types/three/examples/jsm/loaders/MMDLoader.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ export interface MMDLoaderAnimationObject {
mesh: SkinnedMesh;
}

/**
* @deprecated The module has been deprecated and will be removed with r172. Please migrate to
* https://github.com/takahirox/three-mmd-loader instead.
*/
export class MMDLoader extends Loader<SkinnedMesh> {
constructor(manager?: LoadingManager);
animationBuilder: object;
Expand Down

0 comments on commit 3c60c30

Please sign in to comment.