Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    PhysicsDebugShapeMaterial Class

    Namespace: Stride.Physics
    Assembly: Stride.Physics.dll
    System.Object → PhysicsDebugShapeMaterial
    Derived from PhysicsDebugShapeMaterial:

    public static class PhysicsDebugShapeMaterial
    Name Description
    Methods
    CreateDefault(GraphicsDevice, Color, Single)
    CreateHeightfieldMaterial(GraphicsDevice, Color, Single)
    | Improve this Doc View Source

    Methods


    CreateDefault(GraphicsDevice, Color, Single)

    public static Material CreateDefault(GraphicsDevice device, Color color, float intensity)
    Parameters
    Type Name Description
    GraphicsDevice device
    Color color
    System.Single intensity
    Returns
    Type Description
    Material

    CreateHeightfieldMaterial(GraphicsDevice, Color, Single)

    public static Material CreateHeightfieldMaterial(GraphicsDevice device, Color color, float intensity)
    Parameters
    Type Name Description
    GraphicsDevice device
    Color color
    System.Single intensity
    Returns
    Type Description
    Material

    • Improve this Doc
    • View Source
    In This Article

    Back to top

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