const ObjectTrait:
Trait<Defaulted<InputTypes<{ position: (t?: VectorLike) => Float32Array | [number, number, number, number] | undefined, scale: (t?: number | Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | number[]) => Float32Array | [number, number, number] | undefined, quaternion: (t?: VectorLike) => Float32Array | [number, number, number, number] | undefined, rotation: (t?: number | Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | number[]) => Float32Array | [number, number, number] | undefined, matrix: (t?: VectorLike) => | Float32Array | [ number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number ] | undefined, visible: (value?: boolean) => boolean }>, { visible: boolean }>,
OutputTypes<{ position: (t?: VectorLike) => Float32Array | [number, number, number, number] | undefined, scale: (t?: number | Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | number[]) => Float32Array | [number, number, number] | undefined, quaternion: (t?: VectorLike) => Float32Array | [number, number, number, number] | undefined, rotation: (t?: number | Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | number[]) => Float32Array | [number, number, number] | undefined, matrix: (t?: VectorLike) => | Float32Array | [ number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number ] | undefined, visible: (value?: boolean) => boolean }>>
= (
input: A,
output: B,
hooks: UseHooks,
) => void
packages / scene / src / traits.ts