How to use the LoopRepeat function from three

Find comprehensive JavaScript three.LoopRepeat code examples handpicked from public code repositorys.

170
171
172
173
174
175
176
177
178
179
  var timeScaleNow = action.getEffectiveTimeScale();
  var destTimeScale = timeScaleNow > 0 ? -1 : 1;
  action.warp(timeScaleNow, destTimeScale, 4).play();
},
get 'loop mode'() {
  return action !== null ? action.loop : THREE.LoopRepeat;
},
set 'loop mode'(value) {
  action.loop = + value;
},
fork icon0
star icon0
watch icon4

+ 3 other calls in file

Other functions in three

Sorted by popularity

function icon

three.Vector3 is the most popular function in three (22341 examples)