MCPcopy
hub / github.com/lo-th/Oimo.js / switchMat

Function switchMat

examples/js/main.js:122–122  ·  view source on GitHub ↗
( obj, name )

Source from the content-addressed store, hash-verified

120function cam ( h,v,d,t ){ view.moveCamera( h, v, d, t || [0,0,0] ); };
121
122function switchMat ( obj, name ){ view.switchMaterial( obj, name ); };
123
124function play () { if( world !== null ) world.play(); }
125function stop () { if( world !== null ) world.stop(); }

Callers 8

postLoopFunction · 0.85
postLoopFunction · 0.85
postLoopFunction · 0.85
contactFunction · 0.85
postLoopFunction · 0.85
postLoopFunction · 0.85
postLoopFunction · 0.85
postLoopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected