Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    CompoundColliderShape Class

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

    public class CompoundColliderShape : ColliderShape, IDisposable
    Name Description
    Constructors
    CompoundColliderShape()

    Initializes a new instance of the CompoundColliderShape class.

    Properties
    Count

    Gets the count.

    Item[Int32]

    Gets the ColliderShape with the specified i.

    Scaling
    Methods
    AddChildShape(ColliderShape)

    Adds a child shape.

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    RemoveChildShape(ColliderShape)

    Removes a child shape.

    | Improve this Doc View Source

    Constructors


    CompoundColliderShape()

    Initializes a new instance of the CompoundColliderShape class.

    public CompoundColliderShape()
    | Improve this Doc View Source

    Properties


    Count

    Gets the count.

    public int Count { get; }
    Property Value
    Type Description
    System.Int32

    The count.


    Item[Int32]

    Gets the ColliderShape with the specified i.

    public ColliderShape this[int i] { get; }
    Parameters
    Type Name Description
    System.Int32 i

    The i.

    Property Value
    Type Description
    ColliderShape

    The ColliderShape.


    Scaling

    public override Vector3 Scaling { get; set; }
    Property Value
    Type Description
    Vector3
    Overrides
    ColliderShape.Scaling
    | Improve this Doc View Source

    Methods


    AddChildShape(ColliderShape)

    Adds a child shape.

    public void AddChildShape(ColliderShape shape)
    Parameters
    Type Name Description
    ColliderShape shape

    The shape.


    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    public override void Dispose()
    Overrides
    ColliderShape.Dispose()

    RemoveChildShape(ColliderShape)

    Removes a child shape.

    public void RemoveChildShape(ColliderShape shape)
    Parameters
    Type Name Description
    ColliderShape shape

    The shape.


    Inherited Members

    ColliderShape.DebugScaling
    ColliderShape.Type
    ColliderShape.LocalOffset
    ColliderShape.LocalRotation
    ColliderShape.UpdateLocalTransformations()
    ColliderShape.PositiveCenterMatrix
    ColliderShape.NegativeCenterMatrix
    ColliderShape.cachedScaling
    ColliderShape.Is2D
    ColliderShape.Description
    ColliderShape.CreateDebugPrimitive(GraphicsDevice)
    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