pub struct RadialStyle {Show 17 fields
pub material: RadialMaterial,
pub tilt_degrees: f32,
pub depth: f32,
pub bevel: f32,
pub gap_degrees: f32,
pub roughness: f32,
pub texture_strength: f32,
pub texture_scale: f32,
pub light: [f32; 3],
pub shadow: bool,
pub inner_corner: f32,
pub outer_corner: f32,
pub outline: RadialOutline,
pub hover_lift: f32,
pub hover_brightness: f32,
pub gloss: f32,
pub texture_angle_degrees: f32,
}Expand description
Complete style, not a sparse override. Length ratios use the outer radius. Defaults are flat/top-down; setting a material does not enable extrusion.
Fields§
§material: RadialMaterial§tilt_degrees: f32Orthographic camera tilt, 0..65 degrees. Zero is an undistorted top view.
depth: f32Extrusion height / radius, 0..0.4. Does not change slice proportions.
bevel: f32Geometric extrusion bevel / outer radius, clamped to half the depth.
gap_degrees: f32Visual angular separation, 0..8 degrees, capped at 20% of each slice.
roughness: f32Highlight spread, 0.05..1; material-dependent.
texture_strength: f32Procedural pattern intensity, 0..1. Zero disables the pattern.
texture_scale: f32Pattern frequency multiplier, 0.1..8. Larger values give finer grain; independent of export resolution.
light: [f32; 3]§shadow: bool§inner_corner: f32Plan-view corner radii / outer radius; individually clamped for narrow slices.
outer_corner: f32§outline: RadialOutline§hover_lift: f32Vertical translation / outer radius at full hover or selection. Zero disables lift.
hover_brightness: f32Added brightness at full hover/selection, 0..0.5.
gloss: f32Highlight intensity, 0..1; material-dependent.
texture_angle_degrees: f32Finite pattern rotation in degrees, reduced modulo 360 by the renderer.
Implementations§
Source§impl RadialStyle
impl RadialStyle
Sourcepub fn three_dimensional() -> Self
pub fn three_dimensional() -> Self
Oblique 3D view used by the native editor. Explicit preset so existing flat charts and serialized styles do not silently change appearance.