Skip to content

presetDecals beta ​

Function of @v12-engine/client

ts
export declare function presetDecals(kinds?: readonly string[]): Record<string, DecalLook>;

Ready-made decal looks, for a game to take into its view (GameView.ground.decals): a scorch, blood, a crack, road marks, a rune and a glyph, or those named, with the game's own over them ({ ...presetDecals(), moss }). The scorch, the ruts and the runes draw the shared art's pictures (@v12-engine/assets' fx), the client's own where it is not there. Nothing is offered or drawn of a look the view does not have: the client has none of its own