We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/** * @link https://github.com/BabylonJS/Babylon.js/blob/master/packages/dev/core/src/Rendering/outlineRenderer.ts */ declare module "@babylonjs/core/scene" { export interface Scene { _vrmFinder: VRMFinder; getVRMFinder(): VRMFinder; } } Scene.prototype.getVRMFinder = function (): VRMFinder { if (!this._vrmFinder) { this._vrmFinder = new VRMFinder(this); } return this._vrmFinder; }; export class VRMFinder implements ISceneComponent { public name = 'VRMFinder'; public constructor(public readonly scene: Scene) { this.scene._addComponent(this); } public getByTitle(title: string): Nullable<VRMManager> { // ... } public getAll(): VRMManager[] { // ... } // ... }
恐らくこんな感じのインターフェースを想定。
// use case const vrm = this.scene.getByTitle('Alicia Solid') ?? throw new Error(`VRM not found`); vrm.morphing('a', 1.0);
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
Merge pull request virtual-cast#75 from virtual-cast/dependabot/npm_a…
366da6c
…nd_yarn/tmpl-1.0.5 build(deps): bump tmpl from 1.0.4 to 1.0.5
No branches or pull requests
恐らくこんな感じのインターフェースを想定。
The text was updated successfully, but these errors were encountered: