How to use the InterpolateDiscrete function from three
Find comprehensive JavaScript three.InterpolateDiscrete code examples handpicked from public code repositorys.
1883 1884 1885 1886 1887 1888 1889 1890 1891 1892
const INTERPOLATION = { CUBICSPLINE: undefined, // We use a custom interpolant (GLTFCubicSplineInterpolation) for CUBICSPLINE tracks. Each // keyframe track will be initialized with a default interpolation type, then modified. LINEAR: THREE.InterpolateLinear, STEP: THREE.InterpolateDiscrete }; const ALPHA_MODES = { OPAQUE: 'OPAQUE', MASK: 'MASK',
2
10
0
1341 1342 1343 1344 1345 1346 1347 1348 1349 1350
weights: 'morphTargetInfluences' }; const INTERPOLATION = { CUBICSPLINE: undefined, LINEAR: three.InterpolateLinear, STEP: three.InterpolateDiscrete }; const ALPHA_MODES = { OPAQUE: 'OPAQUE', MASK: 'MASK',
2
7
0
GitHub: VeinKowal/veins
1256 1257 1258 1259 1260 1261 1262 1263 1264 1265
var INTERPOLATION = { CUBICSPLINE: undefined, // We use a custom interpolant (GLTFCubicSplineInterpolation) for CUBICSPLINE tracks. Each // keyframe track will be initialized with a default interpolation type, then modified. LINEAR: _three.InterpolateLinear, STEP: _three.InterpolateDiscrete }; var ALPHA_MODES = { OPAQUE: 'OPAQUE', MASK: 'MASK',
0
1
0
three.Vector3 is the most popular function in three (22341 examples)