Skip to content

SurfaceMapping3DMode

EnumTextStudio.ThreeDTextStudio.3D
public enum SurfaceMapping3DMode

Texture-coordinate projection used by one layer’s generated surfaces.

Generated = 0

Keep the coordinates authored by the geometry generator or a custom provider.

Returns

TextStudio.ThreeD.SurfaceMapping3DMode

PlanarGlyph = 1

Project each glyph independently in its local XY plane.

Returns

TextStudio.ThreeD.SurfaceMapping3DMode

PlanarWholeText = 2

Project every glyph through one continuous text-space XY rectangle.

Returns

TextStudio.ThreeD.SurfaceMapping3DMode

SideDistance = 3

Use generated contour distance and extrusion depth coordinates.

Returns

TextStudio.ThreeD.SurfaceMapping3DMode

Depth = 4

Map local horizontal position against extrusion depth.

Returns

TextStudio.ThreeD.SurfaceMapping3DMode

TriplanarObject = 5

Blend three projections from object-space position and normal data in the shader.

Returns

TextStudio.ThreeD.SurfaceMapping3DMode

TriplanarWorld = 6

Blend three projections from world-space position and normal data in the shader.

Returns

TextStudio.ThreeD.SurfaceMapping3DMode

Cylindrical = 7

Wrap U around the local XY axis and map V along local depth.

Returns

TextStudio.ThreeD.SurfaceMapping3DMode