mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Sphere occluders (portals and general use)
Add framework for supporting geometrical occluders within rooms, and add support for sphere occluders. Includes gizmos for editing. They also work outside the portal system.
This commit is contained in:
parent
450f7fdc39
commit
115f4dce55
36 changed files with 1825 additions and 7 deletions
|
@ -501,6 +501,14 @@ public:
|
|||
FUNC2(roomgroup_set_scenario, RID, RID)
|
||||
FUNC2(roomgroup_add_room, RID, RID)
|
||||
|
||||
// Occluders
|
||||
FUNCRID(occluder)
|
||||
FUNC3(occluder_set_scenario, RID, RID, OccluderType)
|
||||
FUNC2(occluder_spheres_update, RID, const Vector<Plane> &)
|
||||
FUNC2(occluder_set_transform, RID, const Transform &)
|
||||
FUNC2(occluder_set_active, RID, bool)
|
||||
FUNC1(set_use_occlusion_culling, bool)
|
||||
|
||||
// Rooms
|
||||
FUNCRID(room)
|
||||
FUNC2(room_set_scenario, RID, RID)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue