private void HandleMaskCommon(Vector3 worldPosition)
        {
            var mask = P3dMask.Find(worldPosition, layers);

            if (mask != null)
            {
                P3dCommandSphere.Instance.SetMask(mask.Matrix, mask.Texture, mask.Channel, mask.Stretch);
            }
            else
            {
                P3dCommandSphere.Instance.ClearMask();
            }
        }
Exemple #2
0
        private void HandleMaskCommon(Vector3 worldPosition)
        {
            var mask = P3dMask.Find(worldPosition);

            if (mask != null)
            {
                P3dCommandDecal.Instance.SetMask(mask.Matrix, mask.Shape, mask.Channel, mask.Stretch);
            }
            else
            {
                P3dCommandDecal.Instance.ClearMask();
            }
        }