MCPcopy Create free account
hub / github.com/dartsim/dart / setAllColors

Function setAllColors

tutorials/tutorial_collisions_finished/main.cpp:490–494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488}
489
490void setAllColors(const SkeletonPtr& object, const Eigen::Vector3d& color)
491{
492 // Set the color of all the shapes in the object
493 object->setColor(color);
494}
495
496SkeletonPtr createBall()
497{

Callers 5

createBallFunction · 0.70
createRigidChainFunction · 0.70
createRigidRingFunction · 0.70
createSoftBodyFunction · 0.70
createHybridBodyFunction · 0.70

Calls 1

setColorMethod · 0.45

Tested by

no test coverage detected