Skip to content

BodySweep3DSpec

StructTextStudio.ThreeDTextStudio.3D
public struct BodySweep3DSpec

Body sweep selection independent from front-face treatment.

[Tooltip("Body travel. Linear follows the local depth axis; Path follows the renderer's built-in or custom extrusion path.")]
public BodySweep3DMode mode

Returns

TextStudio.ThreeD.BodySweep3DMode

[Tooltip("Minimum number of rings used for a path sweep. Set to 0 to use the path provider's native sample count.")]
[Range(0, 128)]
public int minimumSamples

Returns

System.Int32

[Tooltip("Material coordinates on swept sides. Generated keeps the normal glyph mapping; Path Space maps V to physical distance along the sweep.")]
public PathMaterialMapping3DMode materialMapping

Returns

TextStudio.ThreeD.PathMaterialMapping3DMode

public static BodySweep3DSpec Path(int minimumSamples = 0)

Enables path-based depth sweeping with an optional lower bound on path sampling.

Parameters

Name Type
minimumSamples System.Int32

Returns

TextStudio.ThreeD.BodySweep3DSpec

public static BodySweep3DSpec Linear { get; }

Returns

TextStudio.ThreeD.BodySweep3DSpec