Beispiel #1
0
 public void CopyFrom(TrailModel other)
 {
     TrailPosOffset    = other.TrailPosOffset;
     Width             = other.Width;
     Length            = other.Length;
     Material.Material = other.Material.Material;
     Whitestep         = other.Whitestep;
     TrailOrigin       = other.TrailOrigin;
     ClampTexture      = other.ClampTexture;
 }
Beispiel #2
0
 public void CopyFrom(TrailModel other)
 {
     TrailPosOffset = other.TrailPosOffset;
     Width          = other.Width;
     Length         = other.Length;
     Material ??= new MaterialDescriptor(null);
     Material.Material = new Material(other.Material.Material);
     Whitestep         = other.Whitestep;
     TrailOrigin       = other.TrailOrigin;
     ClampTexture      = other.ClampTexture;
     Flip           = other.Flip;
     OriginalLength = other.OriginalLength;
 }