Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    HeightfieldColliderShape Class

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

    [Obsolete("This class will be deprecated. Use 'Stride.Physics.HeightfieldColliderShape'.", false)]
    public class HeightfieldColliderShape : HeightfieldColliderShape, IDisposable
    Name Description
    Constructors
    HeightfieldColliderShape(Int32, Int32, UnmanagedArray<Byte>, Single, Single, Single, Boolean)
    HeightfieldColliderShape(Int32, Int32, UnmanagedArray<Int16>, Single, Single, Single, Boolean)
    HeightfieldColliderShape(Int32, Int32, UnmanagedArray<Single>, Single, Single, Single, Boolean)
    | Improve this Doc View Source

    Constructors


    HeightfieldColliderShape(Int32, Int32, UnmanagedArray<Byte>, Single, Single, Single, Boolean)

    public HeightfieldColliderShape(int heightStickWidth, int heightStickLength, UnmanagedArray<byte> dynamicFieldData, float heightScale, float minHeight, float maxHeight, bool flipQuadEdges)
    Parameters
    Type Name Description
    System.Int32 heightStickWidth
    System.Int32 heightStickLength
    UnmanagedArray<System.Byte> dynamicFieldData
    System.Single heightScale
    System.Single minHeight
    System.Single maxHeight
    System.Boolean flipQuadEdges

    HeightfieldColliderShape(Int32, Int32, UnmanagedArray<Int16>, Single, Single, Single, Boolean)

    public HeightfieldColliderShape(int heightStickWidth, int heightStickLength, UnmanagedArray<short> dynamicFieldData, float heightScale, float minHeight, float maxHeight, bool flipQuadEdges)
    Parameters
    Type Name Description
    System.Int32 heightStickWidth
    System.Int32 heightStickLength
    UnmanagedArray<System.Int16> dynamicFieldData
    System.Single heightScale
    System.Single minHeight
    System.Single maxHeight
    System.Boolean flipQuadEdges

    HeightfieldColliderShape(Int32, Int32, UnmanagedArray<Single>, Single, Single, Single, Boolean)

    public HeightfieldColliderShape(int heightStickWidth, int heightStickLength, UnmanagedArray<float> dynamicFieldData, float heightScale, float minHeight, float maxHeight, bool flipQuadEdges)
    Parameters
    Type Name Description
    System.Int32 heightStickWidth
    System.Int32 heightStickLength
    UnmanagedArray<System.Single> dynamicFieldData
    System.Single heightScale
    System.Single minHeight
    System.Single maxHeight
    System.Boolean flipQuadEdges

    Inherited Members

    HeightfieldColliderShape.MinimumHeightStickWidth
    HeightfieldColliderShape.MinimumHeightStickLength
    HeightfieldColliderShape.UseDiamondSubdivision
    HeightfieldColliderShape.UseZigzagSubdivision
    HeightfieldColliderShape.ShortArray
    HeightfieldColliderShape.ByteArray
    HeightfieldColliderShape.FloatArray
    HeightfieldColliderShape.HeightStickWidth
    HeightfieldColliderShape.HeightStickLength
    HeightfieldColliderShape.HeightType
    HeightfieldColliderShape.HeightScale
    HeightfieldColliderShape.MinHeight
    HeightfieldColliderShape.MaxHeight
    HeightfieldColliderShape.CreateUpdatableDebugPrimitive(GraphicsDevice)
    HeightfieldColliderShape.UpdateDebugPrimitive(CommandList, IDebugPrimitive)
    HeightfieldColliderShape.Dispose()
    HeightfieldColliderShape.LockToReadHeights()
    HeightfieldColliderShape.LockToReadAndWriteHeights()
    ColliderShape.DebugScaling
    ColliderShape.Type
    ColliderShape.LocalOffset
    ColliderShape.LocalRotation
    ColliderShape.UpdateLocalTransformations()
    ColliderShape.PositiveCenterMatrix
    ColliderShape.NegativeCenterMatrix
    ColliderShape.cachedScaling
    ColliderShape.Scaling
    ColliderShape.Is2D
    ColliderShape.Description
    ColliderShape.CreateDebugPrimitive(GraphicsDevice)
    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