Skip to content

Update to Cubism 5 SDK for Java R3#12

Merged
itoh-at-live2d-com merged 1 commit intomasterfrom
develop
Feb 18, 2025
Merged

Update to Cubism 5 SDK for Java R3#12
itoh-at-live2d-com merged 1 commit intomasterfrom
develop

Conversation

@wada-at-live2d-com
Copy link
Copy Markdown
Contributor

Added

  • Add new motion loop processing that seamlessly connects the start and end points of the loop.
    • The isLooped variable has been moved from the CubismMotion class to the ACubismMotion class as isLoop.
    • Add the setter for isLoop, setLoop(boolean loop), to class ACubismMotion.
    • Add the getter for isLoop, getLoop(), to class ACubismMotion.
    • The isLoopFadeIn variable was moved from class CubismMotion to class ACubismMotion.
    • Add the setter for isLoopFadeIn, setLoopFadeIn(boolean loopFadeIn), to class ACubismMotion.
    • Add the getter for isLoopFadeIn, getLoopFadeIn(), to class ACubismMotion.
    • Add a variable motionBehavior for version control to the CubismMotion class.

Changed

  • Change the compile and target SDK version of Android OS to 15.0 (API 35).
    • Upgrade the version of Android Gradle Plugin from 8.1.1 to 8.6.1.
    • Upgrade the version of Gradle from 8.2 to 8.7.
    • Change the minimum version of Android Studio to Ladybug(2024.2.1).
  • Change the arguments of CsmMotionSegmentEvaluationFunction.evaluate from (float time, int basePointIndex) to (final List<CubismMotionPoint> points, final float time) to align with the Cubism SDK for Native codebase.
    • Accordingly, change the implementation of the following methods.
      • CubismMotion.LinearEvaluator.evaluate()
      • CubismMotion.BezierEvaluator.evaluate()
      • CubismMotion.BezierEvaluatorCardanoInterpretation.evaluate()
      • CubismMotion.SteppedEvaluator.evaluate()
      • CubismMotion.InverseSteppedEvaluator.evaluate()
      • CubismMotion.bezierEvaluateBinarySearch()
  • Change the access level of CubismMotionQueueEntry class to public.

Deprecated

  • Deprecate the following elements due to the change in the variable declaration location.
    • CubismMotion.isLoop(boolean loop)
    • CubismMotion.isLoop()
    • CubismMotion.isLoopFadeIn(boolean loopFadeIn)
    • CubismMotion.isLoopFadeIn()

@itoh-at-live2d-com itoh-at-live2d-com merged commit 52389ca into master Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants