Ejemplo n.º 1
0
 public virtual void SampleFullMapped(MappedShapeSampler sampler, float progress, out float x, out float y)
 {
     x = 0f;
     y = 0f;
 }
Ejemplo n.º 2
0
 /// <summary>Called when a deform steps to this point.</summary>
 public virtual void SetupSampler(MappedShapeSampler sampler)
 {
 }
Ejemplo n.º 3
0
 public virtual void SampleNormalMapped(MappedShapeSampler sampler, float percent, out float x, out float y)
 {
     x = 0f;
     y = 0f;
 }
Ejemplo n.º 4
0
 /// <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);
 }
Ejemplo n.º 5
0
 public override void SetupSampler(MappedShapeSampler sampler)
 {
     sampler.DeltaOne = Y - Previous.Y;
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 7
0
 public override float SampleMapped(MappedShapeSampler sampler, float progress)
 {
     return(Previous.Y + (progress * sampler.DeltaOne));
 }
Ejemplo n.º 8
0
 public override void SampleNormalMapped(MappedShapeSampler sampler, float percent, out float x, out float y)
 {
     StartNormal(out x, out y);
 }