HeightfieldColliderShape Class
Namespace: Stride.Physics.ShapesAssembly: Stride.Physics.dll
Derived from HeightfieldColliderShape:
[Obsolete("This class will be deprecated. Use 'Stride.Physics.HeightfieldColliderShape'.", false)]
public class HeightfieldColliderShape : HeightfieldColliderShape, IDisposable
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 |