From 5a677d03a915220ff6dcb647aba500c1f3046588 Mon Sep 17 00:00:00 2001 From: Cassandra de la Cruz-Munoz Date: Thu, 17 Aug 2023 10:01:36 -0400 Subject: [PATCH] create new constructor for VmcExtSetEye --- VmcMessages/VmcExtSetEye.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/VmcMessages/VmcExtSetEye.cs b/VmcMessages/VmcExtSetEye.cs index 5b7cee8..3b0d9da 100644 --- a/VmcMessages/VmcExtSetEye.cs +++ b/VmcMessages/VmcExtSetEye.cs @@ -56,5 +56,11 @@ namespace godotVmcSharp enable = (int)m.Data[0].Value; position = new Godot.Vector3((float)m.Data[1].Value, (float)m.Data[2].Value, (float)m.Data[3].Value); } + + public VmcExtSetEye(int _enable, Godot.Vector3 _position) : base(new godotOscSharp.Address("/VMC/Ext/Set/Eye")) + { + enable = _enable; + position = _position; + } } } \ No newline at end of file