Beispiel #1
0
        public void Draw(SharpRenderer renderer)
        {
            if (dontRender || isInvisible)
            {
                return;
            }

            renderer.DrawPyramid(world, isSelected, 1f);
        }
Beispiel #2
0
 public void Draw(SharpRenderer renderer)
 {
     if (IsZone == 1 || _arenaRadius == -1f)
     {
         renderer.DrawPyramid(world, isSelected, 1f);
     }
     else
     {
         renderer.DrawSphere(world, isSelected, renderer.mvptColor);
     }
 }
Beispiel #3
0
        public override void Draw(SharpRenderer renderer)
        {
            Vector4 Color = _color;

            Color.W = Color.W == 0f ? 1f : Color.W;

            if (renderingDictionary.ContainsKey(_modelAssetID))
            {
                renderingDictionary[_modelAssetID].Draw(renderer, LocalWorld(), isSelected ? renderer.selectedObjectColor * Color : Color, UvAnimOffset);
            }
            else
            {
                renderer.DrawPyramid(LocalWorld(), isSelected, 1f);
            }
        }
Beispiel #4
0
 public override void Draw(SharpRenderer renderer) => renderer.DrawPyramid(world, isSelected);
Beispiel #5
0
 public void Draw(SharpRenderer renderer)
 {
     renderer.DrawPyramid(world, isSelected, 1f);
 }