1
0
mirror of synced 2024-12-01 02:27:22 +01:00

Update bfres libraries to latest

This commit is contained in:
KillzXGaming 2020-01-16 21:04:02 -05:00
parent 48af05941f
commit fad6721fce
11 changed files with 32 additions and 7 deletions

View File

@ -27,7 +27,7 @@ namespace Toolbox.Library.Animations
} }
/// <summary> /// <summary>
/// Represents a class for animating a skeleton /// Represents a class for animating
/// </summary> /// </summary>
public class STAnimation public class STAnimation
{ {

View File

@ -26,12 +26,12 @@ namespace Toolbox.Library.Animations
} }
} }
public class STCubicKeyFrame : STKeyFrame public class STHermiteCubicKeyFrame : STHermiteKeyFrame
{ {
public virtual float Coef0 { get; set; } public float Coef0 { get; set; }
public virtual float Coef1 { get; set; } public float Coef1 { get; set; }
public virtual float Coef2 { get; set; } public float Coef2 { get; set; }
public virtual float Coef3 { get; set; } public float Coef3 { get; set; }
} }
public class STHermiteKeyFrame : STKeyFrame public class STHermiteKeyFrame : STKeyFrame

View File

@ -989,7 +989,10 @@ namespace Toolbox.Library.Collada
JOINT, JOINT,
INV_BIND_MATRIX, INV_BIND_MATRIX,
TEXTANGENT, TEXTANGENT,
TEXBINORMAL TEXBINORMAL,
INPUT,
OUTPUT,
INTERPOLATION,
} }
public enum ProgramPreset public enum ProgramPreset
@ -1039,4 +1042,26 @@ namespace Toolbox.Library.Collada
public float[] Transform; public float[] Transform;
public float[] BindPose; public float[] BindPose;
} }
public class Animation
{
public string ID;
public string Name;
public Sampler Sampler = new Sampler();
public Channel Channel = new Channel();
}
public class Sampler
{
public string ID;
public Dictionary<string, SemanticType> Inputs = new Dictionary<string, SemanticType>();
}
public class Channel
{
public string Source;
public string Target;
}
} }