Chart3DSnapshotOptions
public struct Chart3DSnapshotOptionsHow a 3D chart renders into an image: size, camera, look and quality. Chart 3D outputs serialize it in their view
settings, and Chart3DSnapshot renders with it. Fully value-typed, so it compares and stores without
allocations.
Fields
Section titled “Fields”
public int WidthReturns
System.Int32
Height
Section titled “Height”public int HeightReturns
System.Int32
Supersample
Section titled “Supersample”public float SupersampleReturns
System.Single
public Chart3DPose PoseReturns
ChartGuru.Chart3DPose
Projection
Section titled “Projection”public Chart3DCameraProjection ProjectionReturns
ChartGuru.Chart3DCameraProjection
public ChartTheme ThemeReturns
ChartGuru.ChartTheme
BackgroundColor
Section titled “BackgroundColor”public Color BackgroundColorReturns
UnityEngine.Color
Appearance
Section titled “Appearance”public Chart3DAppearanceOverride AppearanceReturns
ChartGuru.Chart3DAppearanceOverride
DrawShadowPlane
Section titled “DrawShadowPlane”public bool DrawShadowPlaneReturns
System.Boolean
DrawAxes
Section titled “DrawAxes”public bool DrawAxesReturns
System.Boolean
AutoFrame
Section titled “AutoFrame”public bool AutoFrameReturns
System.Boolean
OrthographicSize
Section titled “OrthographicSize”public float OrthographicSizeReturns
System.Single
FramingPadding
Section titled “FramingPadding”public float FramingPaddingReturns
System.Single
PlotSizeOverride
Section titled “PlotSizeOverride”public Vector3 PlotSizeOverrideReturns
UnityEngine.Vector3
PreserveDataProportions
Section titled “PreserveDataProportions”public bool PreserveDataProportionsReturns
System.Boolean
AntiAliasing
Section titled “AntiAliasing”public Chart3DAntiAliasing AntiAliasingReturns
ChartGuru.Chart3DAntiAliasing
public bool SRGBReturns
System.Boolean
Methods
Section titled “Methods”
WithChartStyle(Chart)
Section titled “WithChartStyle(Chart)”public Chart3DSnapshotOptions WithChartStyle(Chart chart)Use the chart’s authored camera, its theme, and that theme’s background.
Parameters
| Name | Type |
|---|---|
chart | ChartGuru.Chart |
Returns
ChartGuru.Chart3DSnapshotOptions
Equals(Chart3DSnapshotOptions)
Section titled “Equals(Chart3DSnapshotOptions)”public bool Equals(Chart3DSnapshotOptions other)Parameters
| Name | Type |
|---|---|
other | ChartGuru.Chart3DSnapshotOptions |
Returns
System.Boolean
Equals(object)
Section titled “Equals(object)”public override bool Equals(object obj)Parameters
| Name | Type |
|---|---|
obj | System.Object |
Returns
System.Boolean
GetHashCode()
Section titled “GetHashCode()”public override int GetHashCode()Returns
System.Int32
Properties
Section titled “Properties”
public static Chart3DSnapshotOptions Hero { get; }Large hero preview for the gallery detail pane / inspector strip.
Returns
ChartGuru.Chart3DSnapshotOptions
Transparent
Section titled “Transparent”public static Chart3DSnapshotOptions Transparent { get; }Transparent-background variant suitable for composited UIs.
Returns
ChartGuru.Chart3DSnapshotOptions
RenderResolution
Section titled “RenderResolution”public Vector2Int RenderResolution { get; }Returns
UnityEngine.Vector2Int