feat: updated engine version to 4.4-rc1
This commit is contained in:
parent
ee00efde1f
commit
21ba8e33af
5459 changed files with 1128836 additions and 198305 deletions
|
|
@ -9,12 +9,12 @@
|
|||
A heightmap collision shape can also be build by using an [Image] reference:
|
||||
[codeblocks]
|
||||
[gdscript]
|
||||
var heightmap_texture: Texture = ResourceLoader.load("res://heightmap_image.exr")
|
||||
var heightmap_image: Image = heightmap_texture.get_image()
|
||||
var heightmap_texture = ResourceLoader.load("res://heightmap_image.exr")
|
||||
var heightmap_image = heightmap_texture.get_image()
|
||||
heightmap_image.convert(Image.FORMAT_RF)
|
||||
|
||||
var height_min: float = 0.0
|
||||
var height_max: float = 10.0
|
||||
var height_min = 0.0
|
||||
var height_max = 10.0
|
||||
|
||||
update_map_data_from_image(heightmap_image, height_min, height_max)
|
||||
[/gdscript]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue