PlatformLightsAndroidUtilities
A static class in Root.Township, Alta.Lighting.
Android helpers for PlatformLight fake lights: the fake light material and vertex coloured copies of light meshes, cached by colour.
- Listed in World, chunks and saving
Fields
| Member | What it is |
|---|---|
static Material baseFakeLightMaterial | Backing field for BaseFakeLightMaterial. |
5 private and internal fields
Properties
| Member | What it is |
|---|---|
static Material BaseFakeLightMaterial { get; } | Material using the Hidden/FakeLight shader, created on first use. |
Methods
| Member | What it is |
|---|---|
static Mesh GetMesh(Mesh newMesh, Color lightColor, float lightIntensity) | Returns a cached copy of the mesh coloured for the light, baking it the first time. |