Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ConvexHullColliderShape Class

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

    public class ConvexHullColliderShape : ColliderShape, IDisposable
    Name Description
    Constructors
    ConvexHullColliderShape(IReadOnlyList<Vector3>, IReadOnlyList<UInt32>, Vector3)
    Properties
    Indices
    Points
    Methods
    CreateDebugPrimitive(GraphicsDevice)
    | Improve this Doc View Source

    Constructors


    ConvexHullColliderShape(IReadOnlyList<Vector3>, IReadOnlyList<UInt32>, Vector3)

    public ConvexHullColliderShape(IReadOnlyList<Vector3> points, IReadOnlyList<uint> indices, Vector3 scaling)
    Parameters
    Type Name Description
    System.Collections.Generic.IReadOnlyList<Vector3> points
    System.Collections.Generic.IReadOnlyList<System.UInt32> indices
    Vector3 scaling
    | Improve this Doc View Source

    Properties


    Indices

    public IReadOnlyList<uint> Indices { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<System.UInt32>

    Points

    public IReadOnlyList<Vector3> Points { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<Vector3>
    | 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