Skip to content

SurfaceMapping3DSet

StructTextStudio.ThreeDTextStudio.3D
public struct SurfaceMapping3DSet

Default texture mapping plus optional semantic-surface overrides. Surface boundaries use the same region metadata as materials, exports, LODs, and generated masks.

public SurfaceMapping3DSpec defaultMapping

Returns

TextStudio.ThreeD.SurfaceMapping3DSpec

public SurfaceMapping3DOverride[] overrides

Returns

TextStudio.ThreeD.SurfaceMapping3DOverride[]

public SurfaceMapping3DSpec Resolve(MaterialRegion region)

Resolves the first per-region mapping override or falls back to the set’s default mapping.

Parameters

Name Type
region TextStudio.ThreeD.MaterialRegion

Returns

TextStudio.ThreeD.SurfaceMapping3DSpec

public static SurfaceMapping3DSet Default { get; }

Returns

TextStudio.ThreeD.SurfaceMapping3DSet