MeshPaintHelpers::GenerateColorForTextureWeight

Generate texture weight color for given number of weights and the to-paint index

Unreal Engine C++ API Reference > Editor > MeshPaint > MeshPaintHelpers

References

   
Module MeshPaint
Header /Engine/Source/Editor/MeshPaint/Public/MeshPaintHelpers.h
Include #include "MeshPaintHelpers.h"
Source /Engine/Source/Editor/MeshPaint/Private/MeshPaintHelpers.cpp
static [FLinearColor](API\Runtime\Core\Math\FLinearColor) GenerateColorForTextureWeight
(
    const int32 NumWeights,
    const int32 WeightIndex
)

Remarks

Generate texture weight color for given number of weights and the to-paint index


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library