Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    CylinderColliderShape Class

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

    public class CylinderColliderShape : ColliderShape, IDisposable
    Name Description
    Constructors
    CylinderColliderShape(Single, Single, ShapeOrientation)

    Initializes a new instance of the CylinderColliderShape class.

    Fields
    Height
    Orientation
    Radius
    Methods
    CreateDebugPrimitive(GraphicsDevice)
    | Improve this Doc View Source

    Constructors


    CylinderColliderShape(Single, Single, ShapeOrientation)

    Initializes a new instance of the CylinderColliderShape class.

    public CylinderColliderShape(float heightParam, float radiusParam, ShapeOrientation orientationParam)
    Parameters
    Type Name Description
    System.Single heightParam
    System.Single radiusParam
    ShapeOrientation orientationParam
    | Improve this Doc View Source

    Fields


    Height

    public readonly float Height
    Field Value
    Type Description
    System.Single

    Orientation

    public readonly ShapeOrientation Orientation
    Field Value
    Type Description
    ShapeOrientation

    Radius

    public readonly float Radius
    Field Value
    Type Description
    System.Single
    | Improve this Doc View Source

    Methods


    CreateDebugPrimitive(GraphicsDevice)

    public override MeshDraw CreateDebugPrimitive(GraphicsDevice device)
    Parameters
    Type Name Description
    GraphicsDevice device
    Returns
    Type Description
    MeshDraw
    Overrides
    ColliderShape.CreateDebugPrimitive(GraphicsDevice)

    Inherited Members

    ColliderShape.DebugScaling
    ColliderShape.Dispose()
    ColliderShape.Type
    ColliderShape.LocalOffset
    ColliderShape.LocalRotation
    ColliderShape.UpdateLocalTransformations()
    ColliderShape.PositiveCenterMatrix
    ColliderShape.NegativeCenterMatrix
    ColliderShape.cachedScaling
    ColliderShape.Scaling
    ColliderShape.Is2D
    ColliderShape.Description
    ColliderShape.CreateUpdatableDebugPrimitive(GraphicsDevice)
    ColliderShape.UpdateDebugPrimitive(CommandList, IDebugPrimitive)
    ColliderShape.DebugPrimitiveMatrix

    Extension Methods

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

    Back to top

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