AGX Dynamics 2.42.2.1
Loading...
Searching...
No Matches
TerrainMaterialLibrary.h
Go to the documentation of this file.
1/*
2Copyright 2007-2025. Algoryx Simulation AB.
3
4All AGX source code, intellectual property, documentation, sample code,
5tutorials, scene files and technical white papers, are copyrighted, proprietary
6and confidential material of Algoryx Simulation AB. You may not download, read,
7store, distribute, publish, copy or otherwise disseminate, use or expose this
8material unless having a written signed agreement with Algoryx Simulation AB, or having been
9advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10valid commercial license from Algoryx Simulation AB.
11
12Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13from using this software, unless otherwise stated in written agreements with
14Algoryx Simulation AB.
15*/
16
17#pragma once
18
20#include <agxTerrain/export.h>
22
23#define DEFAULT_TERRAIN_MATERIAL_LIBRARY_FOLDER "MaterialLibrary/TerrainMaterials/"
24
25namespace agxTerrain
26{
37 {
38 public:
39
50 static bool loadMaterialProfile( const agx::String& materialName,
51 agxTerrain::TerrainMaterial* terrainMaterial,
53
63 };
64}
65
66
#define DEFAULT_TERRAIN_MATERIAL_LIBRARY_FOLDER
#define AGXTERRAIN_EXPORT
Class that is used for interfacing with different TerrainMaterial presets with calibrated bulk and co...
static agx::StringVector getAvailableLibraryMaterials(const agx::String &libraryFolder=DEFAULT_TERRAIN_MATERIAL_LIBRARY_FOLDER)
Get the available TerrainMaterial presets from the existing.json files in the specified material libr...
static bool loadMaterialProfile(const agx::String &materialName, agxTerrain::TerrainMaterial *terrainMaterial, const agx::String &libraryFolder=DEFAULT_TERRAIN_MATERIAL_LIBRARY_FOLDER)
Configure a agxTerrain::TerrainMaterial object from one of the existing library presets,...
This class is used to describe the general material properties of the Terrain.
The agxTerrain namespace contains a 3D model for a dynamic deformable Terrain and related classes.
Definition: Geometry.h:59