Skip to content

BevelSpec

StructTextStudio.ThreeDTextStudio.3D
public struct BevelSpec

One end of a layer’s bevel (either front or back cap), with independent size, thickness, offset, profile, join style, and miter-limit controls.

public float size

Returns

System.Single

public float thickness

Returns

System.Single

public float offset

Returns

System.Single

public int segments

Returns

System.Int32

public BevelProfile profile

Returns

TextStudio.ThreeD.BevelProfile

public BevelJoinType join

Returns

TextStudio.ThreeD.BevelJoinType

public float miterLimit

Returns

System.Single

public static BevelSpec Round(float size, float thickness, int segments = 6)

Creates an enabled rounded bevel with independent inset size, depth thickness, and bounded segment count.

Parameters

Name Type
size System.Single
thickness System.Single
segments System.Int32

Returns

TextStudio.ThreeD.BevelSpec

public static BevelSpec Chamfer(float size, float thickness)

Creates an enabled single-segment linear chamfer with independent inset size and depth thickness.

Parameters

Name Type
size System.Single
thickness System.Single

Returns

TextStudio.ThreeD.BevelSpec

public bool HasGeometry { get; }

Returns

System.Boolean

public static BevelSpec None { get; }

Returns

TextStudio.ThreeD.BevelSpec