64 lines
1.9 KiB
Plaintext
64 lines
1.9 KiB
Plaintext
[gd_scene load_steps=9 format=2]
|
|
|
|
[ext_resource path="res://user_interface/utility_controls/profile_image_rect/profile_image_rect.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://user_interface/utility_controls/profile_image_rect/profile_image_rect_mask.png" type="Texture" id=2]
|
|
[ext_resource path="res://user_interface/call_panel/ping_effect.gd" type="Script" id=3]
|
|
[ext_resource path="res://user_interface/call_panel/call_member.gd" type="Script" id=4]
|
|
[ext_resource path="res://user_interface/call_panel/icons/mic_indicator.png" type="Texture" id=5]
|
|
[ext_resource path="res://user_interface/call_panel/icons/muted_indicator.png" type="Texture" id=7]
|
|
|
|
[sub_resource type="Shader" id=1]
|
|
code = "shader_type canvas_item;
|
|
render_mode blend_mix;
|
|
|
|
uniform sampler2D mask;
|
|
|
|
void fragment() {
|
|
COLOR = texture(TEXTURE, UV) * vec4(vec3(1.0), texture(mask, UV).r);
|
|
}"
|
|
|
|
[sub_resource type="ShaderMaterial" id=2]
|
|
shader = SubResource( 1 )
|
|
shader_param/mask = ExtResource( 2 )
|
|
|
|
[node name="CallMember" type="CenterContainer"]
|
|
margin_left = 220.0
|
|
margin_right = 376.0
|
|
margin_bottom = 156.0
|
|
rect_min_size = Vector2( 156, 156 )
|
|
script = ExtResource( 4 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="MicIndicator" type="TextureRect" parent="."]
|
|
visible = false
|
|
margin_left = 11.0
|
|
margin_top = 11.0
|
|
margin_right = 145.0
|
|
margin_bottom = 145.0
|
|
texture = ExtResource( 5 )
|
|
|
|
[node name="PingEffect" type="Control" parent="."]
|
|
visible = false
|
|
margin_left = 78.0
|
|
margin_top = 78.0
|
|
margin_right = 78.0
|
|
margin_bottom = 78.0
|
|
script = ExtResource( 3 )
|
|
|
|
[node name="ProfilePicture" parent="." instance=ExtResource( 1 )]
|
|
material = SubResource( 2 )
|
|
margin_left = 18.0
|
|
margin_top = 18.0
|
|
margin_right = 138.0
|
|
margin_bottom = 138.0
|
|
rect_min_size = Vector2( 120, 120 )
|
|
|
|
[node name="MutedIndicator" type="TextureRect" parent="ProfilePicture"]
|
|
visible = false
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
texture = ExtResource( 7 )
|
|
expand = true
|