colorMesh: Assign a color to a mesh globally

View source: R/colorMesh.r

colorMeshR Documentation

Assign a color to a mesh globally

Description

Assign a color to a mesh globally

Usage

colorMesh(mesh, col)

Arguments

mesh

triangular mesh of class mesh3d

col

color

Value

mesh with material adequately set.

Examples

require(Rvcg)
data(humface)
humcol <- colorMesh(humface, "red")

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