Beispiel #1
0
            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;
            }
Beispiel #2
0
            public void DumpFromToleranceSphere(ToleranceSphere toleranceSphere)
            {
                if (toleranceSphere == null)
                {
                    return;
                }

                worldPosition        = toleranceSphere.worldPosition;
                diameter             = toleranceSphere.diameter;
                color                = toleranceSphere.color;
                preservationStrength = toleranceSphere.preservationStrength;
                isHidden             = toleranceSphere.isHidden;
            }