Skip to content

CapRefinement3DSpec

StructTextStudio.ThreeDTextStudio.3D
public struct CapRefinement3DSpec

Independent topology refinement recipe for one closed cap.

[Tooltip("Automatic keeps flat caps compact and lets relief choose its detail. Regular adds evenly distributed cap-surface detail for custom deformation while preserving bevel correspondence.")]
public CapRefinement3DMode mode

Returns

TextStudio.ThreeD.CapRefinement3DMode

[Tooltip("Linear refinement steps for Regular mode. Higher values add smoother deformation topology at additional vertex and triangle cost.")]
[Range(1, 8)]
public int subdivisions

Returns

System.Int32

public static CapRefinement3DSpec Regular(int subdivisions = 4)

Enables regular cap refinement for smoother face deformation while preserving the cap boundary.

Parameters

Name Type
subdivisions System.Int32

Returns

TextStudio.ThreeD.CapRefinement3DSpec

public static CapRefinement3DSpec Automatic { get; }

Returns

TextStudio.ThreeD.CapRefinement3DSpec