• Registers a terrain decoration.

    Parameters

    • name: string
    • description: ITerrainDecorationBase

      The definition of the terrain decoration.

      The decorated property will be injected with the id of the registered terrain.

    Returns (<K, T>(target: T, key: K) => void)

      • <K, T>(target: T, key: K): void
      • Type Parameters

        Parameters

        • target: T
        • key: K

        Returns void

Generated using TypeDoc