Table of Contents

Class AccentColorMeshCreator

Namespace
Root
Assembly
SPZGameAssembly.dll
public class AccentColorMeshCreator : IAccentColorMeshAccessor
Inheritance
object
AccentColorMeshCreator
Implements
Extension Methods

Constructors

AccentColorMeshCreator(IMeshCache, IMaterialInstanceFilter)

public AccentColorMeshCreator(IMeshCache meshCache, IMaterialInstanceFilter materialInstanceFilter)

Parameters

meshCache IMeshCache
materialInstanceFilter IMaterialInstanceFilter

Methods

Dispose()

public void Dispose()

TryRemapAccentColoredLODMesh(ILODMeshMaterial, IReadOnlyDictionary<AccentColorPaletteId, AccentColorPaletteId>, out ILODMeshMaterial)

public bool TryRemapAccentColoredLODMesh(ILODMeshMaterial lodMeshMaterial, IReadOnlyDictionary<AccentColorPaletteId, AccentColorPaletteId> accentColorPaletteMappings, out ILODMeshMaterial uniqueLodMeshMaterial)

Parameters

lodMeshMaterial ILODMeshMaterial
accentColorPaletteMappings IReadOnlyDictionary<AccentColorPaletteId, AccentColorPaletteId>
uniqueLodMeshMaterial ILODMeshMaterial

Returns

bool

TryRemapAccentColoredMesh(IMeshReference, IReadOnlyDictionary<AccentColorPaletteId, AccentColorPaletteId>, out IMeshReference)

public bool TryRemapAccentColoredMesh(IMeshReference mesh, IReadOnlyDictionary<AccentColorPaletteId, AccentColorPaletteId> accentColorPaletteMappings, out IMeshReference uniqueMesh)

Parameters

mesh IMeshReference
accentColorPaletteMappings IReadOnlyDictionary<AccentColorPaletteId, AccentColorPaletteId>
uniqueMesh IMeshReference

Returns

bool