Skip to content

Chart3DSnapshotOptions

StructChartGuruChartGuru.3D
public struct Chart3DSnapshotOptions

How 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.

public int Width

Returns

System.Int32

public int Height

Returns

System.Int32

public float Supersample

Returns

System.Single

public Chart3DPose Pose

Returns

ChartGuru.Chart3DPose

public Chart3DCameraProjection Projection

Returns

ChartGuru.Chart3DCameraProjection

public ChartTheme Theme

Returns

ChartGuru.ChartTheme

public Color BackgroundColor

Returns

UnityEngine.Color

public Chart3DAppearanceOverride Appearance

Returns

ChartGuru.Chart3DAppearanceOverride

public bool DrawShadowPlane

Returns

System.Boolean

public bool DrawAxes

Returns

System.Boolean

public bool AutoFrame

Returns

System.Boolean

public float OrthographicSize

Returns

System.Single

public float FramingPadding

Returns

System.Single

public Vector3 PlotSizeOverride

Returns

UnityEngine.Vector3

public bool PreserveDataProportions

Returns

System.Boolean

public Chart3DAntiAliasing AntiAliasing

Returns

ChartGuru.Chart3DAntiAliasing

public bool SRGB

Returns

System.Boolean

public Chart3DSnapshotOptions WithChartStyle(Chart chart)

Use the chart’s authored camera, its theme, and that theme’s background.

Parameters

NameType
chartChartGuru.Chart

Returns

ChartGuru.Chart3DSnapshotOptions

public bool Equals(Chart3DSnapshotOptions other)

Parameters

NameType
otherChartGuru.Chart3DSnapshotOptions

Returns

System.Boolean

public override bool Equals(object obj)

Parameters

NameType
objSystem.Object

Returns

System.Boolean

public override int GetHashCode()

Returns

System.Int32

public static Chart3DSnapshotOptions Hero { get; }

Large hero preview for the gallery detail pane / inspector strip.

Returns

ChartGuru.Chart3DSnapshotOptions

public static Chart3DSnapshotOptions Transparent { get; }

Transparent-background variant suitable for composited UIs.

Returns

ChartGuru.Chart3DSnapshotOptions

public Vector2Int RenderResolution { get; }

Returns

UnityEngine.Vector2Int