public virtual void SampleFullMapped(MappedShapeSampler sampler, float progress, out float x, out float y)
 {
     x = 0f;
     y = 0f;
 }
 /// <summary>Called when a deform steps to this point.</summary>
 public virtual void SetupSampler(MappedShapeSampler sampler)
 {
 }
 public virtual void SampleNormalMapped(MappedShapeSampler sampler, float percent, out float x, out float y)
 {
     x = 0f;
     y = 0f;
 }
 /// <summary>Steps along the line. In this case the percent value represents the position along the length of the line.</summary>
 public virtual float SampleMapped(MappedShapeSampler sampler, float percent)
 {
     return(0f);
 }
Exemple #5
0
 public override void SetupSampler(MappedShapeSampler sampler)
 {
     sampler.DeltaOne = Y - Previous.Y;
 }
Exemple #6
0
 public override void SampleFullMapped(MappedShapeSampler sampler, float progress, out float x, out float y)
 {
     x = Previous.X + (progress * sampler.DeltaOne);
     y = Previous.Y + (progress * sampler.DeltaOne);
 }
Exemple #7
0
 public override float SampleMapped(MappedShapeSampler sampler, float progress)
 {
     return(Previous.Y + (progress * sampler.DeltaOne));
 }
Exemple #8
0
 public override void SampleNormalMapped(MappedShapeSampler sampler, float percent, out float x, out float y)
 {
     StartNormal(out x, out y);
 }