Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    PrimitiveTypeExtensions Class

    Namespace: Stride.Graphics
    Assembly: Stride.Graphics.dll
    System.Object → PrimitiveTypeExtensions
    Derived from PrimitiveTypeExtensions:

    public static class PrimitiveTypeExtensions
    Name Description
    Methods
    ControlPointCount(PrimitiveType, Int32)

    Interpret the vertex data as a patch list.

    | Improve this Doc View Source

    Methods


    ControlPointCount(PrimitiveType, Int32)

    Interpret the vertex data as a patch list.

    public static PrimitiveType ControlPointCount(this PrimitiveType primitiveType, int controlPoints)
    Parameters
    Type Name Description
    PrimitiveType primitiveType
    System.Int32 controlPoints

    Number of control points. Value must be in the range 1 to 32.

    Returns
    Type Description
    PrimitiveType

    • Improve this Doc
    • View Source
    In This Article

    Back to top

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