Added
- Add the functionality to call a function when motion playback starts.
- Add an API to
CubismMotionJson
for 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
CubismShader
for eachGLRenderingContext
. - Change the access level of the private members in
CubismModelSettingJson
class to protected. - Move JSON key strings set to the member variables of
CubismModelSettingJson
class. - Change
FrequestNode
to 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._currentPriority
CubismExpressionMotionManager._reservePriority
CubismExpressionMotionManager.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
CubismExpresionMotion
withCubismMotionQueueManager.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._fadeTimeSeconds
does not become 0.