setVertColor: set the per-vertex colors of an object of class mesh3d

View source: R/colorMesh.r

setVertColorR Documentation

set the per-vertex colors of an object of class mesh3d

Description

set the per-vertex colors of an object of class mesh3d

Usage

setVertColor(x, colorvec)

Arguments

x

mesh3d

colorvec

vector of lenght ncol(x$vb) containing HEX rgb values for vertex colors.

Value

mesh with updated vertex colors


zarquon42b/mesheR documentation built on Jan. 28, 2024, 2:17 p.m.