VertexAnimation/Runtime/Scripts/VA_MaterialComponentData.cs
max b63ee2ff02 AnimatorSystems test.
P4 sync:
- LOD testing.
- AnimatorSystems test setup.
- AnimationTime and AnimationIndex per mesh.
- Vector encoding/decoding.
2020-12-06 02:36:15 +01:00

17 lines
394 B
C#

using Unity.Entities;
using Unity.Rendering;
namespace TAO.VertexAnimation
{
[MaterialProperty("_AnimationIndex", MaterialPropertyFormat.Float)]
public struct VA_AnimationIndexComponent : IComponentData
{
public float Value;
}
[MaterialProperty("_AnimationTime", MaterialPropertyFormat.Float)]
public struct VA_AnimationTimeComponent : IComponentData
{
public float Value;
}
}