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

Function setAllColors

tutorials/tutorial_collisions/main.cpp:342–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340}
341
342void setAllColors(const SkeletonPtr& object, const Eigen::Vector3d& color)
343{
344 // Set the color of all the shapes in the object
345 object->setColor(color);
346}
347
348SkeletonPtr createBall()
349{

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