Height map shape for 3D physics (Bullet only).
    public class HeightMapShape : Shape

Height map shape resource, which can be added to a PhysicsBody or Area.

Inheritance Chain

Constructors

    public HeightMapShape()

Properties

    public float[] MapData { get; set; }

Height map data, pool array must be of MapWidth * MapDepth size.

    public int MapDepth { get; set; }

Depth of the height map data. Changing this will resize the MapData.

    public int MapWidth { get; set; }

Width of the height map data. Changing this will resize the MapData.

Methods

    [Obsolete("GetMapData is deprecated. Use the MapData property instead.")]
    public float[] GetMapData()

Getter for MapData

    [Obsolete("GetMapDepth is deprecated. Use the MapDepth property instead.")]
    public int GetMapDepth()

Getter for MapDepth

    [Obsolete("GetMapWidth is deprecated. Use the MapWidth property instead.")]
    public int GetMapWidth()

Getter for MapWidth

    [Obsolete("SetMapData is deprecated. Use the MapData property instead.")]
    public void SetMapData(float[] data)

Setter for MapData

    [Obsolete("SetMapDepth is deprecated. Use the MapDepth property instead.")]
    public void SetMapDepth(int height)

Setter for MapDepth

    [Obsolete("SetMapWidth is deprecated. Use the MapWidth property instead.")]
    public void SetMapWidth(int width)

Setter for MapWidth

Tags: