Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
lightmapsettings.lightprobes [2021/02/10 00:18] – uninomiconadmin | lightmapsettings.lightprobes [2025/01/15 04:35] (current) – external edit 127.0.0.1 |
---|
''LightmapSettings.lightProbes'' will be null if there is no valid lighting data in the active scene. | ''LightmapSettings.lightProbes'' will be null if there is no valid lighting data in the active scene. |
| |
Tip: ''LightmapSettings.lightProbes'' is just another Unity Object. You can clone it with ''Instantiate(LightmapSettings.lightProbes)'' and then write it to the assets folder. The type even has a special icon! ((This is how you can save and swap out different light probe profiles at runtime. Save out the light probes object to disk, and set the reference at runtime)) | Tip: ''LightmapSettings.lightProbes'' is just another Unity Object. You can clone it with ''Instantiate(LightmapSettings.lightProbes)'' and then write it to the assets folder, using the .asset filetype. The created asset will use the light probe group icon! ((This is how you can save and swap out different light probe profiles at runtime. Save out the light probes object to disk, and set the reference at runtime)) |
| |
===== ''pred(*previous, *i)'' ===== | ===== ''pred(*previous, *i)'' ===== |