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; }
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; }