This commit is contained in:
sharpoff
2026-01-14 13:01:37 +09:00
commit 49d7e22132
660 changed files with 41243 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
@tool
@icon("res://addons/godot-xr-tools/editor/icons/hand.svg")
class_name XRToolsHandPoseSettings
extends Resource
## XR Tools Hand Pose Settings Resource
##
## This resource defines the settings for hand poses such as the poses for
## hand-open and hand-closed.
## Hand-open pose
@export var open_pose : Animation : set = set_open_pose
## Hand-closed pose
@export var closed_pose : Animation : set = set_closed_pose
# Called when the open pose is changed
func set_open_pose(p_open_pose : Animation) -> void:
open_pose = p_open_pose
emit_changed()
# Called when the closed pose is changed
func set_closed_pose(p_closed_pos : Animation) -> void:
closed_pose = p_closed_pos
emit_changed()

View File

@@ -0,0 +1 @@
uid://dvobm6vcfnqe8

View File

@@ -0,0 +1,10 @@
[gd_resource type="Resource" script_class="XRToolsHandPoseSettings" load_steps=4 format=3 uid="uid://dertgu7k8alls"]
[ext_resource type="Script" uid="uid://dvobm6vcfnqe8" path="res://addons/godot-xr-tools/hands/poses/hand_pose_settings.gd" id="1"]
[ext_resource type="Animation" uid="uid://plad1r85f7ws" path="res://addons/godot-xr-tools/hands/animations/left/Grip.res" id="1_oobiv"]
[ext_resource type="Animation" uid="uid://bediglpx0rj7i" path="res://addons/godot-xr-tools/hands/animations/left/Grip 5.res" id="2_tar64"]
[resource]
script = ExtResource("1")
open_pose = ExtResource("2_tar64")
closed_pose = ExtResource("1_oobiv")

View File

@@ -0,0 +1,10 @@
[gd_resource type="Resource" script_class="XRToolsHandPoseSettings" load_steps=4 format=3 uid="uid://dmpjtk0l8vh6v"]
[ext_resource type="Animation" uid="uid://ccds2u22gbxn7" path="res://addons/godot-xr-tools/hands/animations/right/Grip.res" id="1_o7bqr"]
[ext_resource type="Script" uid="uid://dvobm6vcfnqe8" path="res://addons/godot-xr-tools/hands/poses/hand_pose_settings.gd" id="1_ytvcl"]
[ext_resource type="Animation" uid="uid://s1vqcxyqcvea" path="res://addons/godot-xr-tools/hands/animations/right/Grip 5.res" id="2_u3fe0"]
[resource]
script = ExtResource("1_ytvcl")
open_pose = ExtResource("2_u3fe0")
closed_pose = ExtResource("1_o7bqr")

View File

@@ -0,0 +1,9 @@
[gd_resource type="Resource" script_class="XRToolsHandPoseSettings" load_steps=3 format=3 uid="uid://ciw0f7mg4ai0k"]
[ext_resource type="Animation" uid="uid://cevirj0eagdrq" path="res://addons/godot-xr-tools/hands/animations/left/Sign 1.res" id="1_idx1j"]
[ext_resource type="Script" uid="uid://dvobm6vcfnqe8" path="res://addons/godot-xr-tools/hands/poses/hand_pose_settings.gd" id="1_oxfi3"]
[resource]
script = ExtResource("1_oxfi3")
open_pose = ExtResource("1_idx1j")
closed_pose = ExtResource("1_idx1j")

View File

@@ -0,0 +1,9 @@
[gd_resource type="Resource" script_class="XRToolsHandPoseSettings" load_steps=3 format=3 uid="uid://bhvrpfo4ecbub"]
[ext_resource type="Animation" uid="uid://bcwx6a6mhsoj2" path="res://addons/godot-xr-tools/hands/animations/right/Sign 1.res" id="1_jc8b4"]
[ext_resource type="Script" uid="uid://dvobm6vcfnqe8" path="res://addons/godot-xr-tools/hands/poses/hand_pose_settings.gd" id="1_pkv6s"]
[resource]
script = ExtResource("1_pkv6s")
open_pose = ExtResource("1_jc8b4")
closed_pose = ExtResource("1_jc8b4")