Beispiel #1
0
    /// <summary>
    /// Modifies all voxel blocks within a sphere
    /// </summary>
    void EditSphere()
    {
        if (block == null)
        {
            return;
        }

        LazyLoadReferences();
        byte index = (byte)blockManager.blocks.IndexOf(block);

        WorldEditor.SetSphere(world, currentPosition, sphereRadius,
                              index, ref editHandle, m_blocksToIgnore);
    }