public void DumpToToleranceSphere(ref ToleranceSphere toleranceSphere) { if (toleranceSphere == null) { return; } toleranceSphere.worldPosition = worldPosition; toleranceSphere.diameter = diameter; toleranceSphere.color = color; toleranceSphere.preservationStrength = preservationStrength; toleranceSphere.isHidden = isHidden; }
public void DumpFromToleranceSphere(ToleranceSphere toleranceSphere) { if (toleranceSphere == null) { return; } worldPosition = toleranceSphere.worldPosition; diameter = toleranceSphere.diameter; color = toleranceSphere.color; preservationStrength = toleranceSphere.preservationStrength; isHidden = toleranceSphere.isHidden; }