mirror of
https://github.com/maxartz15/VertexAnimation.git
synced 2024-11-09 22:32:55 +01:00
max
b63ee2ff02
P4 sync: - LOD testing. - AnimatorSystems test setup. - AnimationTime and AnimationIndex per mesh. - Vector encoding/decoding.
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;
|
|
}
|
|
} |