mirror of
				https://github.com/maxartz15/VertexAnimation.git
				synced 2025-11-04 10:25:44 +01:00 
			
		
		
		
	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;
 | 
						|
	}
 | 
						|
} |