mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Add Cone and Cylinder shapes to FogVolume
This complements the existing Ellipsoid and Box local fog shapes. This can be used to represent a light cone coming from a SpotLight.
This commit is contained in:
@@ -2140,8 +2140,11 @@ void RenderingServer::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("fog_volume_set_material", "fog_volume", "material"), &RenderingServer::fog_volume_set_material);
|
||||
|
||||
BIND_ENUM_CONSTANT(FOG_VOLUME_SHAPE_ELLIPSOID);
|
||||
BIND_ENUM_CONSTANT(FOG_VOLUME_SHAPE_CONE);
|
||||
BIND_ENUM_CONSTANT(FOG_VOLUME_SHAPE_CYLINDER);
|
||||
BIND_ENUM_CONSTANT(FOG_VOLUME_SHAPE_BOX);
|
||||
BIND_ENUM_CONSTANT(FOG_VOLUME_SHAPE_WORLD);
|
||||
BIND_ENUM_CONSTANT(FOG_VOLUME_SHAPE_MAX);
|
||||
|
||||
/* VISIBILITY NOTIFIER */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user