You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Replace Extents with Size in VoxelGI, ReflectionProbe, FogVolume, Decal and GPUParticles*3D
- Extents are replaced by Size (Size is Extents * 2) - The UI text displays 'Size' - Snapping is adjusted to work with Size - _set and _get handle extents for compatibility Co-authored-by: ator-dev <dominic.codedeveloper@gmail.com>
This commit is contained in:
@@ -387,7 +387,7 @@ public:
|
||||
FUNC2(reflection_probe_set_ambient_energy, RID, float)
|
||||
FUNC2(reflection_probe_set_ambient_mode, RID, ReflectionProbeAmbientMode)
|
||||
FUNC2(reflection_probe_set_max_distance, RID, float)
|
||||
FUNC2(reflection_probe_set_extents, RID, const Vector3 &)
|
||||
FUNC2(reflection_probe_set_size, RID, const Vector3 &)
|
||||
FUNC2(reflection_probe_set_origin_offset, RID, const Vector3 &)
|
||||
FUNC2(reflection_probe_set_as_interior, RID, bool)
|
||||
FUNC2(reflection_probe_set_enable_box_projection, RID, bool)
|
||||
@@ -428,7 +428,7 @@ public:
|
||||
|
||||
FUNCRIDSPLIT(decal)
|
||||
|
||||
FUNC2(decal_set_extents, RID, const Vector3 &)
|
||||
FUNC2(decal_set_size, RID, const Vector3 &)
|
||||
FUNC3(decal_set_texture, RID, DecalTexture, RID)
|
||||
FUNC2(decal_set_emission_energy, RID, float)
|
||||
FUNC2(decal_set_albedo_mix, RID, float)
|
||||
@@ -540,7 +540,7 @@ public:
|
||||
FUNCRIDSPLIT(fog_volume)
|
||||
|
||||
FUNC2(fog_volume_set_shape, RID, FogVolumeShape)
|
||||
FUNC2(fog_volume_set_extents, RID, const Vector3 &)
|
||||
FUNC2(fog_volume_set_size, RID, const Vector3 &)
|
||||
FUNC2(fog_volume_set_material, RID, RID)
|
||||
|
||||
/* VISIBILITY_NOTIFIER */
|
||||
|
||||
Reference in New Issue
Block a user