Documentation > Mesh Ops Plugin BPLibrary > Apply Heightmap

Apply Heightmap

Applies heights to a plane mesh based on a heightmap in the form of a linearcolor array Pix. Technically works on any mesh, a plane (or using Create Grid Mesh node) is recommended though. Assumes the Pix array is square (equal width and height).

Inputs

In
Exec

Data
Mesh Data Structure (by ref)

Pix
Array of Linear Color Structures

RGB
ColorChannelEnum Enum

Interp Type
InterpolationTypeEnum Enum

Min Height
Float

Max Height
Float

Outputs

Out
Exec

Return Value
Boolean

Applies heights to a plane mesh based on a heightmap in the form of a linearcolor array Pix. Technically works on any mesh, a plane (or using Create Grid Mesh node) is recommended though. Assumes the Pix array is square (equal width and height).