Releases: Live2D/CubismWebFramework
Releases · Live2D/CubismWebFramework
Cubism 5 SDK for Web R3
Added
- Add new motion loop processing that seamlessly connects the start and end points of the loop.
- The
_isLoop
variable was moved from classCubismMotion
to classACubismMotion
. - Add the setter for
_isLoop
,setLoop()
, to classACubismMotion
. - Add the getter for
_isLoop
,getLoop()
, to classACubismMotion
. - The
_isLoopFadeIn
variable was moved from classCubismMotion
to classACubismMotion
. - Add the setter for
_isLoopFadeIn
,setLoopFadeIn()
, to classACubismMotion
. - Add the getter for
_isLoopFadeIn
,getLoopFadeIn()
, to classACubismMotion
. - Add a variable
_motionBehavior
for version control to theCubismMotion
class.
- The
Changed
- Change ESLint version to
9.17.0
.- With this update, we have added the eslint.confing.mjs required for FlatConfig.
Deprecated
- Deprecate the following elements due to the change in the variable declaration location.
CubismMotion.setIsLoop()
CubismMotion.isLoop()
CubismMotion.setIsLoopFadeIn()
CubismMotion.isLoopFadeIn()
Cubism 5 SDK for Web R2
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.
Cubism 5 SDK for Web R1
Added
- Add function
mod()
to compute floating-point remainder inCubismMath
class.
Changed
- Change the weight value in
Expression
fromCubismExpressionMotion
to have it in theCubismExpressionMotionManager
. - Reorganize the names of some functions and variables.
- This is a change that depends on fixing
eslintrc.yml
.
- This is a change that depends on fixing
- Change to output log if the argument
motionQueueEntry
isnull
in theupdateFadeWeight()
function of theACubismMotion
class.
Fixed
- Fix
eslintrc.yml
to conform to the exact wording.
Deprecated
- Deprecate the
_fadeWeight
variable and thegetFadeWeight()
function of theCubismExpressionMotion
class.- The
_fadeWeight
variable of theCubismExpressionMotion
class can cause problems. - Please use the
getFadeWeight()
function of theCubismExpressionMotionManager
class with one argument from now on.
- The
- The
startMotion()
function of theCubismMotionQueueManager
class with the unnecessary third argumentuserTimeSeconds
is deprecated.- Please use the
startMotion()
function with one arguments from now on.
- Please use the
Cubism 5 SDK for Web R1 beta4
Changed
- Change target to
es6
.
Fixed
- Fix an issue where models with a specific number of masks could not be drawn correctly.
- Fix to check for error when reading json.
Cubism 5 SDK for Web R1 beta3
No changed.
Cubism 5 SDK for Web R1 beta2
Added
- Add a comment for clarity for the function whose usage is not intuitive.
Cubism 5 SDK for Web R1 beta1
Added
- Add the function to get the ID of a given parameter.(
CubismModel.getParameterId
) - Add the
CubismExpressionMotionManager
class.
Changed
- Change the visibility of the
CubismId
constructor to private.- Please use
CubismFramework.getIdManager().getId()
to getCubismId
.
- Please use
- Change the word
DrawMesh
toDrawMeshWebGL
.
Fixed
- Fix a bug that the value applied by multiply was not appropriate during expression transitions.
- Fix the structure of the class in renderer.
- Fix a issue where
ARRAY_BUFFER
was used on multiple targets. - Separate shader class from
cubismrenderer
class. - Separate the high precision mask process from the clipping mask setup process.
Removed
- Remove several arguments of
DrawMesh
function.
Cubism 4 SDK for Web R7
Added
- Add compiler options
noImplicitAny
anduseUnknownInCatchVariables
totsconfig.json
. - Add some function for checking consistency of MOC3.
- Add the function of checking consistency on reviving a MOC3. (
CubismMoc::Create
)
- Add the function of checking consistency on reviving a MOC3. (
- Add a function to parse the opacity from
.motion3.json
. - Add some functions to change Multiply and Screen colors on a per part basis.
Changed
- Change access specifier for
CubismExpressionMotion
.
Fixed
- Fix to support added compiler options
noImplicitAny
anduseUnknownInCatchVariables
.
Cubism 4 SDK for Web R6_2
Fixed
- Fix some problems related to Cubism Core.
- See
CHANGELOG.md
in Core.
- See
Cubism 4 SDK for Web R6_1
Added
- Add function to validate MOC3 files.