mirror of
https://github.com/maxartz15/VertexAnimation.git
synced 2024-11-14 16:25:32 +01:00
15 lines
314 B
C#
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;
|
|
}
|
|
|
|
|
|
} |