Chart3DMaterialPresets
public static class Chart3DMaterialPresetsThe built-in surface materials behind Chart3DSurfacePreset, the chart's Surface Material setting
(ChartSpatialSettings.SurfacePreset, .SurfacePreset(...) in code). Every preset wraps the
package's cross-pipeline vertex-lit or unlit shader, which blends per-mark vertex colors, with its own metalness and
roughness, so charts never render with a missing material and their color gradients stay live.
Chart3DSurfacePreset.Theme is the fallback a chart uses when its theme has no usable surface material.
Methods
Section titled “Methods”
Get(Chart3DSurfacePreset)
Section titled “Get(Chart3DSurfacePreset)”public static Material Get(Chart3DSurfacePreset preset)The shared material of preset, created on first use.
Parameters
| Name | Type |
|---|---|
preset | ChartGuru.Chart3DSurfacePreset |
Returns
UnityEngine.Material