What this component contains
ATTRIBUTION.mdLICENSEREADME.mdbaltor_test.gdcomponent.jsoninspect_gdscript.pyrun_tests.gdsplit_screen_layout.gdtest_package.pytests/test_split_screen_layout.gdverification/native.json
How it works
- Class
- BaltorSplitScreen, extends RefCounted
- Methods
- layout(count: int, screen: Rect2, stacked: bool = false, gap: float = 0.0) -> Array[Rect2]; arrange(controls: Array, screen: Rect2, stacked: bool = false, gap: float = 0.0) -> int
- Placement
- res://baltor/godot_components/split_screen_layout/
Recorded checks
godot 4.7.2.stable.official.ed1daf0bf
godot_parse_check_onlygodot_gdscript_testsgodot_tests_reject_gutted_componentgodot_editor_importgodot_contract_reflectiongodot_readme_usage_compiles
Limits to consider
Rectangles only; creating SubViewports, cameras and input routing per player is up to you. Views in a grid differ in size when the last row is short. Verified with Godot 4.7.2 headless; written against the Godot 4.3 API.