GenMeshHeightmap method

  1. @override
MeshD GenMeshHeightmap(
  1. ImageD heightmap,
  2. Vector3D size
)
override

Generate heightmap mesh from image data

Implementation

@override
MeshD GenMeshHeightmap(
  ImageD heightmap,
  Vector3D size,
) => $.Mesh$.RefCapture(
  RaylibCaptureIds.GenMeshHeightmap,
  (p) => _ffi.GenMeshHeightmap(
    $.Image$.Ref1(heightmap).asNativePointer<ImageC>().ref,
    $.Vector3$.Ref1(size).asNativePointer<Vector3C>().ref,
  ).toDart(p.asNativePointer()),
);