Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

bjs-vat-helpers

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bjs-vat-helpers

Several helpful functions to work with VAT

latest
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

bjs-vat-helpers

Several helpful functions to work with VAT

Baking mesh

function bakeMesh(engine: AbstractEngine, meshPath: string): Promise<Float32Array>

Bake mesh's animations into Float32Array. Requires Skeleton and AnimationGroups.

Creating VAT from Float32Array

function createVAT(
  scene: Scene,
  mesh: Mesh,
  anims: string | AnimationGroup[] | Texture | Float32Array,
  opts?: {
    printJSON?: boolean;
  }
): Promise<{
  readonly manager: BakedVertexAnimationManager;
  readonly dispose: (disposeTexture?: boolean) => void;
}>;

FAQs

Package last updated on 11 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts