Skip to content

ChartLayerStyle3D

ClassChartGuruChartGuru
public sealed class ChartLayerStyle3D

3D mark styling of a ChartLayer, read by the Chart Guru 3D add-on: the Swift Charts 3D content modifiers symbol, symbolRotation, roughness and metalness, the .foregroundStyle(color.gradient) flavor of a color, and the Chart Guru rule thickness. 2D charts ignore it.

public const float DefaultRuleThickness = 0.008

Default rule thickness of 3D rules in plot units.

Returns

System.Single

public ChartLayerStyle3D Clone()

Returns a copy.

Returns

ChartGuru.ChartLayerStyle3D

public ChartLayerStyle3D()

public bool OverrideSymbol { get; set; }

Returns

System.Boolean

public Symbol3D Symbol { get; set; }

Returns

ChartGuru.Symbol3D

public Vector3 SymbolRotation { get; set; }

Euler angles in degrees; zero keeps the symbol unrotated.

Returns

UnityEngine.Vector3

public bool OverrideRoughness { get; set; }

Returns

System.Boolean

public float Roughness { get; set; }

Returns

System.Single

public bool OverrideMetalness { get; set; }

Returns

System.Boolean

public float Metalness { get; set; }

Returns

System.Single

public bool OverrideRuleThickness { get; set; }

Returns

System.Boolean

public float RuleThickness { get; set; }

Returns

System.Single

public bool ColorGradient { get; set; }

Returns

System.Boolean