init(resource:)

Creates a new LightmapComponent backed by the given LightmapResource.

Declaration

init(resource: LightmapResource)