64 lines
1.5 KiB
Plaintext
64 lines
1.5 KiB
Plaintext
URL: https://wiki.studiominus.nl/internalReference/BetterLightMapGenerator.html
|
|
Title: People Playground Modding - BetterLightMapGenerator
|
|
==================================================
|
|
|
|
public class BetterLightMapGenerator
|
|
Inherits MonoBehaviour
|
|
No description provided
|
|
Nested types
|
|
BetterLightMapGenerator.BoundingBox
|
|
BetterLightMapGenerator.Vertex
|
|
BetterLightMapGenerator.Properties
|
|
Fields
|
|
public static BetterLightMapGenerator Main
|
|
No description provided
|
|
|
|
public ComputeShader LightmapComputeShader
|
|
No description provided
|
|
|
|
public List<LightmapChunkBehaviour> Chunks
|
|
[Space]
|
|
No description provided
|
|
|
|
public Dictionary<LM_ObjectProperties, Vertex[]> Objects
|
|
[Space]
|
|
No description provided
|
|
|
|
public TextMeshProUGUI InformationText
|
|
[Space] [Header("UI")]
|
|
No description provided
|
|
|
|
public LoadingBarBehaviour ProgressBar
|
|
No description provided
|
|
|
|
public GameObject GenerationUI
|
|
No description provided
|
|
|
|
public bool finished
|
|
No description provided
|
|
|
|
Methods
|
|
public void BeginGen()
|
|
[ContextMenu("Generate Lightmap")]
|
|
No description provided
|
|
|
|
public void Render()
|
|
No description provided
|
|
|
|
public void ClearLightmaps()
|
|
No description provided
|
|
|
|
public void UpdateMapVerts()
|
|
Generates / regenerates the vertices in storage.
|
|
|
|
public static Vector2 Fit(Vector2 pos, Transform map)
|
|
Moves the vertex position to the correct position in the world.
|
|
|
|
public static Vector2 Fit(Vector2 pos, LM_ObjectProperties map)
|
|
Moves the vertex position to the correct position in the world.
|
|
|
|
public void OnDrawGizmos()
|
|
No description provided
|
|
|
|
public void OnDestroy()
|
|
No description provided |