public static SpriteVertexSave FromSpriteVertex(SpriteVertex spriteVertex) { SpriteVertexSave svs = new SpriteVertexSave(); svs.TextureU = spriteVertex.TextureCoordinate.X; svs.TextureV = spriteVertex.TextureCoordinate.Y; return svs; }
internal SpriteVertex(SpriteVertex vertex) { Position = vertex.Position; TextureCoordinate = vertex.TextureCoordinate; Scale = vertex.Scale; ScaleVelocity = vertex.ScaleVelocity; Color = vertex.Color; ColorRate = vertex.ColorRate; }