File size: 1,067 Bytes
0cbdcec
c21eb24
0cbdcec
c21eb24
0cbdcec
 
c21eb24
0cbdcec
 
c21eb24
0cbdcec
 
c21eb24
0cbdcec
 
c21eb24
 
0cbdcec
c21eb24
 
 
0cbdcec
 
c21eb24
 
0cbdcec
 
c21eb24
 
0cbdcec
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[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