跳转到内容

bakeDecalMesh

此内容尚不支持你的语言。

bakeDecalMesh(receivers, projectorWorld, options?): MeshData | null

Defined in: decal/bake.ts:131

The decal’s geometry, or null when the projector prints on nothing.

Null and not an empty mesh: a decal over thin air is a thing to report, and a mesh with no triangles is a draw call that says nothing.

readonly DecalReceiver[]

ArrayLike<number>

DecalBakeOptions = {}

MeshData | null