@pmndrs/uikit
Version:
Build performant 3D user interfaces with Three.js and yoga.
7 lines (6 loc) • 445 B
TypeScript
import type { ReadonlySignal } from '@preact/signals-core';
import { Matrix4 } from 'three';
import type { Inset } from '../../flex/node.js';
import type { TextMatrixTarget } from './types.js';
export declare function computedGlobalTextMatrix(target: TextMatrixTarget): ReadonlySignal<Matrix4 | undefined>;
export declare function getGlobalTextMatrix(paddingInset: Inset, borderInset: Inset, pixelSize: number, globalMatrix?: Matrix4): Matrix4;