1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- /**
- * Copyright(c) Live2D Inc. All rights reserved.
- *
- * Use of this source code is governed by the Live2D Open Software license
- * that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
- */
- using System;
- using UnityEngine;
- namespace Live2D.Cubism.Framework.MotionFade
- {
- public struct CubismFadePlayingMotion
- {
- /// <summary>
- /// Animation clip start time.
- /// </summary>
- [SerializeField]
- public float StartTime;
- /// <summary>
- /// Animation clip end time.
- /// </summary>
- [SerializeField]
- public float EndTime;
- /// <summary>
- /// Cubism fade in start time.
- /// </summary>
- [SerializeField]
- public float FadeInStartTime;
- /// <summary>
- /// Animation playing speed.
- /// </summary>
- [SerializeField, Range(0.0f, float.MaxValue)]
- public float Speed;
- /// <summary>
- /// Cubism fade motion data.
- /// </summary>
- [SerializeField]
- public CubismFadeMotionData Motion;
- /// <summary>
- /// Is animation loop.
- /// </summary>
- [SerializeField]
- public bool IsLooping;
- /// <summary>
- /// Motion weight.
- /// </summary>
- [NonSerialized]
- public float Weight;
- }
- }
|