Uninomicon

Documenting the dark corners of the Unity Engine.

User Tools

Site Tools


lightmapsettings.lightprobes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
lightmapsettings.lightprobes [2021/05/10 21:19]
uninomiconadmin old revision restored (2021/05/07 22:34)
lightmapsettings.lightprobes [2023/05/04 14:14] (current)
86.7.175.132 [LightmapSettings.lightProbes]
Line 16: Line 16:
 ''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)'' =====
lightmapsettings.lightprobes.1620681568.txt.gz ยท Last modified: 2021/05/10 21:19 by uninomiconadmin