mirror of
https://github.com/maxartz15/VertexAnimation.git
synced 2024-11-12 23:45:31 +01:00
17 lines
394 B
C#
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;
|
|||
|
}
|
|||
|
}
|