godot_rl_VirtualCamera / VirtualCamera.tscn
edbeeching's picture
edbeeching HF staff
Upload folder using huggingface_hub
0cbdcec verified
[gd_scene load_steps=3 format=3 uid="uid://b30vsuwotx0u2"]
[ext_resource type="Script" path="res://addons/godot_rl_agents/sensors/sensors_3d/RGBCameraSensor3D.gd" id="1_p152a"]
[sub_resource type="ViewportTexture" id="1"]
viewport_path = NodePath("SubViewport")
[node name="VirtualCamera" type="Node3D"]
script = ExtResource("1_p152a")
[node name="RemoteTransform" type="RemoteTransform3D" parent="."]
remote_path = NodePath("../SubViewport/Camera")
[node name="SubViewport" type="SubViewport" parent="."]
size = Vector2i(36, 36)
render_target_update_mode = 3
[node name="Camera" type="Camera3D" parent="SubViewport"]
near = 0.5
[node name="Control" type="Control" parent="."]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="TextureRect" type="ColorRect" parent="Control"]
layout_mode = 0
color = Color(0.00784314, 0.00784314, 0.00784314, 1)
[node name="CameraTexture" type="Sprite2D" parent="Control/TextureRect"]
scale = Vector2(8, 8)
texture = SubResource("1")
centered = false