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 1892const 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',
1341 1342 1343 1344 1345 1346 1347 1348 1349 1350weights: 'morphTargetInfluences' }; const INTERPOLATION = { CUBICSPLINE: undefined, LINEAR: three.InterpolateLinear, STEP: three.InterpolateDiscrete }; const ALPHA_MODES = { OPAQUE: 'OPAQUE', MASK: 'MASK',
GitHub: VeinKowal/veins
1256 1257 1258 1259 1260 1261 1262 1263 1264 1265var 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',
three.Vector3 is the most popular function in three (22341 examples)