TextStudio3DContourAsset
[CreateAssetMenu(fileName = "New 3D Contour", menuName = "Text Studio/3D/Geometry/Contours/Contour Asset", order = 107)]public sealed class TextStudio3DContourAsset : TextStudio3DContourSourceAssetReusable serialized 2D contour data for logos, symbols, and program operands.
Methods
Section titled “Methods”
Validate()
Section titled “Validate()”public override TextStudio3DContourValidationReport Validate()Validates the source’s current contour data without modifying the asset.
Returns
TextStudio.ThreeD.TextStudio3DContourValidationReport
CreateContour()
Section titled “CreateContour()”public override ContourState CreateContour()Creates a detached contour snapshot that the caller may safely transform or combine.
Returns
TextStudio.ThreeD.ContourState
TrySetContour(ContourState, out TextStudio3DContourValidationReport)
Section titled “TrySetContour(ContourState, out TextStudio3DContourValidationReport)”public bool TrySetContour(ContourState contour, out TextStudio3DContourValidationReport report)Validates and stores a detached contour snapshot only when its loops, winding, intersections, and containment are valid.
Parameters
| Name | Type |
|---|---|
contour |
TextStudio.ThreeD.ContourState |
report |
TextStudio.ThreeD.TextStudio3DContourValidationReport |
Returns
System.Boolean: True when the asset accepted the supplied contour.
Constructors
Section titled “Constructors”
TextStudio3DContourAsset()
Section titled “TextStudio3DContourAsset()”public TextStudio3DContourAsset()