VertexColor For Indivisual Vertex's

How do I change the vertex color of Indivisual Vertex’s I have tried tabilising it like

editableMesh.VertexColor[vertID] = Color

But no luck I used to use

editableMesh:SetVertexColor(vertID,Color)

But SetVertexColor() Has Been Depracated

Unfortunately with the removal or this, you now have to use :SetFaceColors().

Example:

local VertOneColor = EditableMesh:AddColor(Color3.new(1, 0, 0), 1)
local VertTwoColor = EditableMesh:AddColor(Color3.new(0, 1, 0), 1)
local VertThreeColor = EditableMesh:AddColor(Color3.new(0, 0, 1), 1)

EditableMesh:SetFaceColors(faceID, {VertOneColor, VertTwoColor, VertThreeColor})
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.