Repository navigation
Cubism 5 SDK for Web R2
·
14 commits
to master
since this release
Added
- Add the functionality to call a function when motion playback starts.
- Add an API to
CubismMotionJsonfor verifying the consistency ofmotion3.json. by @pillowtrucker- This API is ported from
Cubism Native Framework.
- This API is ported from
Changed
- Change to create and manage a
CubismShaderfor eachGLRenderingContext. - Change the access level of the private members in
CubismModelSettingJsonclass to protected. - Move JSON key strings set to the member variables of
CubismModelSettingJsonclass. - Change
FrequestNodeto be exported as part of the module. - Change to permit to overwrite motion fade by the value specified in .model3.json on
CubismUserModel.loadMotion(). - Change the value of pi used in the calculation of
CubismBreath.updateParameters()toMath.PI.
Deprecated
-
Deprecate the following elements because a priority value is not actually used during expression motion playback:
CubismExpressionMotionManager._currentPriorityCubismExpressionMotionManager._reservePriorityCubismExpressionMotionManager.startMotionPriority()CubismExpressionMotionManager.getCurrentPriority()CubismExpressionMotionManager.getReservePriority()CubismExpressionMotionManager.setReservePriority()
Please use the
CubismMotionQueueManager.startMotion()instead ofCubismExpressionMotionManager.startMotionPriority().
Fixed
- Fix an issue where already registered keys could be added on
csmMap.appendKey(). - Fix a bug that caused an error when playing
CubismExpresionMotionwithCubismMotionQueueManager.startMotion(). - Fix an issue where
CubismMath.cardanoAlgorithmForBezier()was using a different function than Cubism SDK for Native. - Fix a potential problem with division by 0 when a pose fade time is set to 0 seconds.
- Fix an issue where
CubismPose._fadeTimeSecondsdoes not become 0.