Renderer · function

paletteTextureWidth

How wide the palette texture is for a rig of this many joints.

Explained in Hello world.

function paletteTextureWidth(jointCount: number): number
import { paletteTextureWidth } from '@driftengine/core';

Parameters

ParameterTypeDescription
jointCountnumber