import { type Mat4Like } from '@forgeax/engine-math'; import { AssetError, type MeshAsset, type Result } from '@forgeax/engine-types'; export interface DecalGeometryOptions { /** Maps the unit projection box [-0.5, 0.5] into the source mesh's local space. */ readonly transform: Mat4Like; /** Minimum face-normal cosine against the projector's +Z axis, in [-1, 1]. */ readonly normalThreshold?: number; } /** * Pure local-space mesh projection, suitable for Pack generation or occasional * runtime placement. The result uses ordinary materials and follows the receiver * Transform. No intersecting, projectable triangles returns null. It does not bind skin/morph deformation or change receiver geometry. */ export declare function createDecalGeometry(source: MeshAsset, options: DecalGeometryOptions): Result; //# sourceMappingURL=decal.d.ts.map