void Start() { ApplyMask(); isEffectExponential = mEffectIsExponential; // first application of the deformation ApplyDeformations(); mSourcePreviousTransform = new DeformationSourceState(this); }
public override bool Equals(object obj) { if (obj.GetType() == typeof(DeformationSourceState)) { DeformationSourceState source = (DeformationSourceState)obj; return(source.range == range && source.coef == coef && base.Equals(obj)); } else { return(base.Equals(obj)); } }