init(resource:) Declarationinit(resource: LightmapResource) See AlsoCreating a lightmap componentlightmap