using Unity.Collections;
using LitMotion.Adapters;
namespace LitMotion
{
public static partial class LMotion
{
///
/// API for creating string motions.
///
public static class String
{
///
/// Create a builder for building motion.
///
/// Start value
/// End value
/// Duration
/// Created motion builder
public static MotionBuilder Create32Bytes(in FixedString32Bytes from, in FixedString32Bytes to, float duration)
{
return Create(from, to, duration);
}
///
/// Create a builder for building motion.
///
/// Start value
/// End value
/// Duration
/// Created motion builder
public static MotionBuilder Create64Bytes(in FixedString64Bytes from, in FixedString64Bytes to, float duration)
{
return Create(from, to, duration);
}
///
/// Create a builder for building motion.
///
/// Start value
/// End value
/// Duration
/// Created motion builder
public static MotionBuilder Create128Bytes(in FixedString128Bytes from, in FixedString128Bytes to, float duration)
{
return Create(from, to, duration);
}
///
/// Create a builder for building motion.
///
/// Start value
/// End value
/// Duration
/// Created motion builder
public static MotionBuilder Create512Bytes(in FixedString512Bytes from, in FixedString512Bytes to, float duration)
{
return Create(from, to, duration);
}
///
/// Create a builder for building motion.
///
/// Start value
/// End value
/// Duration
/// Created motion builder
public static MotionBuilder Create4096Bytes(in FixedString4096Bytes from, in FixedString4096Bytes to, float duration)
{
return Create(from, to, duration);
}
}
}
}