Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    UIBatch.PrimitiveType Enum

    Namespace: Stride.Graphics
    Assembly: Stride.Graphics.dll

    The primitive type to draw for an element.

    public enum PrimitiveType

    Fields

    Name Description
    BorderRectangle

    A rectangle with borders tessellated as 3x3 rectangles

    Cube

    A simple cube (not necessary square faces)

    Rectangle

    A simple rectangle composed of 2 triangles

    ReverseCube

    A cube with back and front faces inversed.

    Extension Methods

    ComponentBaseExtensions.DisposeBy<UIBatch.PrimitiveType>(ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<UIBatch.PrimitiveType>(ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation