TerraBrushProvider ​
Inherits: TerrainProvider < Node
Tells which surface type the ground is at a position on a TerraBrush terrain: the texture under the position is looked up in texture_surface_map, and default_surface is used when it has no entry.
Properties ​
Dictionary[int, String] | texture_surface_map | {} |
Methods ​
bool | supports( feature: StringName ) |
String | get_surface_type( position: Vector3 ) |
Property descriptions ​
Dictionary[int, String] texture_surface_map = ​
Which surface type each texture of the terrain stands for.
Method descriptions ​
bool supports( feature: StringName ) ​
What this provider answers from the data of TerraBrush: the surface type. The ground itself is found by the physics of the world (TerraBrush makes collision).
String get_surface_type( position: Vector3 ) ​
The surface type of the ground at a position (the default when it is not known).