Class TextureSplatSettings
- Namespace
- DFA.Puddlecraft
Settings for a splat imported from an image: which image, which channel, and how its values map to depth.
[Serializable]
public sealed class TextureSplatSettings
- Inheritance
-
TextureSplatSettings
Properties
blackPoint
Values at or below this become dry.
public float blackPoint { get; set; }
Property Value
blur
Blur radius in pixels, to soften hard edges in the source.
public int blur { get; set; }
Property Value
channel
Which channel of the image becomes depth.
public SplatChannel channel { get; set; }
Property Value
gamma
Curve applied after levels. Above 1 makes puddles shallower, below 1 deeper.
public float gamma { get; set; }
Property Value
invert
Swap deep and dry.
public bool invert { get; set; }
Property Value
sourceGuid
GUID of the source texture in the project. Empty when imported from a file.
public string sourceGuid { get; set; }
Property Value
sourcePath
Path of the source image on disk when imported from a file outside the project.
public string sourcePath { get; set; }
Property Value
whitePoint
Values at or above this become full depth.
public float whitePoint { get; set; }