VertexAnimation/Runtime/Scripts/VA_MaterialComponentData.cs
2022-12-04 04:18:35 +01:00

15 lines
314 B
C#

using Unity.Entities;
using Unity.Mathematics;
using Unity.Rendering;
namespace TAO.VertexAnimation
{
[MaterialProperty("_AnimationData")] //, MaterialPropertyFormat.Float4
public struct VaAnimationDataComponent : IComponentData
{
// animationTime, animationIndex, colorIndex, nan.
public float4 Value;
}
}