Releases: Live2D/CubismJavaFramework
Releases · Live2D/CubismJavaFramework
Cubism 4 SDK for Java R1 beta2
Added
- Add a description of type package to
README.md
.
Changed
- Change Android SDK API level from 31 (Android 12) to 33 (Android 13).
- Change the name and package of the
CubismRectangle
class totype/csmRect
to match SDK for Native. - Move constants related to debugging from
CubismFramework
class to the newly createdCubismFrameworkConfig
class. - Change implementation to hide
CubismJsonString
from shallow layers. The following functions are affcted by this change.getLayoutMap
function inICubismModelSetting
classgetLayoutMap
function inCubismModelSettingJson
classsetupFromLayout
function inCubismModelMatrix
class
- Change the name and arguments of
createRenderer
function inCubismUserModel
.- The
RendererType
enumurator is abolished. Please generate a renderer you want to use by yourself and put it in the function as an argument.
- The
Fixed
- Fix JSON data parsing process to improve performance.
- Fix a problem where
setClippingMaskBufferSize
inCubismRendererAndroid
would be thrown aNullPointerException
if there are no clipping masks in the model.
Removed
- Remove dependencies not to be used.
- Remove the unused method
getMotionMap
inICubismModelSetting
andCubismModelSettingJson
class.
Cubism 4 SDK for Java R1 beta1
Added
- Add support for high-precision masks.
- Implement to throw an exception when a user attempt to give null value to a setter method.
- Add API to allow users to configure culling.
- The number of render textures used can now be increased arbitrarily.
- The maximum number of masks when using multiple render textures has been increased to "number of render textures * 32".
Changed
- Change the visibility of field variables in CubismClippingContext class from private to public and remove the getter and setter methods.
- Change the specification of the logging functions in
CubismDebug
so that they can take a format string as an argument.
Fixed
- Change
radianToDirection
function inCubismMath
so that an instance of CubismVector2 created by an API user is given as second argument, and the calculation result is stored in that instance and returned. - Change the type of cache variables for vertex information used in
doDrawModel
function inCubismRendererAndroid
andsetupClippingContext
function inCubismClippingManagerAndroid
fromMap
to array.- The cost of converting
int
type toInteger
type (auto-boxing) that was incurred every frame was removed by this change.
- The cost of converting
- Fix
updateParticles
andupdateParticlesForStabilization
function inCubismPhysics
not to create an instance of CubismVector2.
Cubism 4 SDK for Java R1 alpha1
Added
- New released!