Skip to content

FaceRelief3DSpec

StructTextStudio.ThreeDTextStudio.3D
public struct FaceRelief3DSpec

Controls the relief surface generated across the front cap.

public FaceRelief3DMode mode

Returns

TextStudio.ThreeD.FaceRelief3DMode

public float amount

Returns

System.Single

public int subdivisions

Returns

System.Int32

public AnimationCurve profile

Returns

UnityEngine.AnimationCurve

public static FaceRelief3DSpec Chisel(float amount, int subdivisions = 8, AnimationCurve profile = null)

Creates a faceted chisel relief whose profile moves a refined closed cap by the supplied depth amount.

Parameters

Name Type
amount System.Single
subdivisions System.Int32
profile UnityEngine.AnimationCurve

Returns

TextStudio.ThreeD.FaceRelief3DSpec

public static FaceRelief3DSpec Inflate(float amount, int subdivisions = 7, AnimationCurve profile = null)

Creates a smooth inflated relief whose profile moves a refined closed cap by the supplied depth amount.

Parameters

Name Type
amount System.Single
subdivisions System.Int32
profile UnityEngine.AnimationCurve

Returns

TextStudio.ThreeD.FaceRelief3DSpec

public bool IsEnabled { get; }

Returns

System.Boolean

public static FaceRelief3DSpec Flat { get; }

Returns

TextStudio.ThreeD.FaceRelief3DSpec