/**
* 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
{
///
/// Animation clip start time.
///
[SerializeField]
public float StartTime;
///
/// Animation clip end time.
///
[SerializeField]
public float EndTime;
///
/// Cubism fade in start time.
///
[SerializeField]
public float FadeInStartTime;
///
/// Animation playing speed.
///
[SerializeField, Range(0.0f, float.MaxValue)]
public float Speed;
///
/// Cubism fade motion data.
///
[SerializeField]
public CubismFadeMotionData Motion;
///
/// Is animation loop.
///
[SerializeField]
public bool IsLooping;
///
/// Motion weight.
///
[NonSerialized]
public float Weight;
}
}