chanya.jp
Open in
urlscan Pro
2606:4700:3034::6815:3b49
Public Scan
Submitted URL: http://chanya.jp/
Effective URL: https://chanya.jp/
Submission: On August 31 via api from US — Scanned from JP
Effective URL: https://chanya.jp/
Submission: On August 31 via api from US — Scanned from JP
Form analysis
0 forms found in the DOMText Content
Chanya.jp * Home * About * Gallery * Development * Contact * Other * Home * About * Gallery * Development * Contact * Other 九島茶にゃ (Bluesky の姿) -------------------------------------------------------------------------------- DESCRIPTION Name 九島茶にゃ [ja] Chanya Kushima [en] Location Japan 🇯🇵 ねこ。多分技術者。ねこはかしこいのです。 -------------------------------------------------------------------------------- CONTACT Personal work work@chanya.jp off topic off-topic@chanya.jp -------------------------------------------------------------------------------- LINKS VRChat Amazon 欲しいものリスト -------------------------------------------------------------------------------- SAMPLE CONTENT THIS IS A SAMPLE CONTENT This is a Sample. This is code. This block is a code block. This is a second sentence in a code block. // This is a C# code block. string helloWorldString = "Hello, World!"; Console.WriteLine(helloWorldString); 1. item1 2. item2 3. item3 -------------------------------------------------------------------------------- * item1 * item2 * item3 VRCOSCLIB THE OSC LIBRARY FOR VRCHAT (.NET STANDARD) VRCOscLib is now released! HOW TO INSTALL Download & import the .nupkg from the Releases page. I can also download from NuGet Package Manager. See nuget.org for the NuGet package latest version. USAGE IN CODE Please check the Sample for the combination with the actual application. ABOUT AVATAR PARAMETERS If you want to control avatar parameters, use classes in BuildSoft.VRChat.Osc.Avatar. E.G.) GET AND USE AVATAR CONFIG MODEL using System; using BuildSoft.VRChat.Osc.Avatar; // get avatar config by avatar id. var config = OscAvatarConfig.Create("avtr_XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX")!; foreach (var parameter in config.Parameters.Items) { Console.WriteLine($"{parameter.Name}: " + $"input {(parameter.Input != null ? "○" : "×")}, " + $"output {(parameter.Output != null ? "○" : "×")}" ); } E.G.) GET CURRENT AVATAR CONFIG MODEL using System; using BuildSoft.VRChat.Osc.Avatar; var config = OscAvatarConfig.CreateAtCurrent(); if (config == null) { Console.WriteLine("Failed to get the current avatar, Do \"Reset Avatar\" or start VRChat."); } // Wait until you can get an avatar config. config = await OscAvatarConfig.WaitAndCreateAtCurrentAsync(); E.G.) SEND AVATAR PARAMETER using BuildSoft.VRChat.Osc.Avatar; var config = await OscAvatarConfig.WaitAndCreateAtCurrentAsync(); config.Parameters["IntParameterName"] = 1; config.Parameters["FloatParameterName"] = 12.2f; config.Parameters["BoolParameterName"] = true; or using BuildSoft.VRChat.Osc; OscParameter.SendAvatarParameter("IntParameterName", 1); OscParameter.SendAvatarParameter("FloatParameterName", 12.3f); OscParameter.SendAvatarParameter("BoolParameterName", true); E.G.) GET RECEIVED AVATAR PARAMETER using System; using System.Threading.Tasks; using BuildSoft.VRChat.Osc.Avatar; var config = await OscAvatarConfig.WaitAndCreateAtCurrentAsync(); await Task.Delay(1000); Console.WriteLine($"parameterName = {config.Parameters["parameterName"]}"); ABOUT BUTTON INPUT If you want to use button input with OSC, use classes in BuildSoft.VRChat.Osc.Input. There are 2 kinds of input, OscAxisInput can send a float value, and OscButtonInput can send a boolean value, press or release. E.G.) SEND INPUT using System.Threading.Tasks; using BuildSoft.VRChat.Osc.Input; OscAxisInput.LookVertical.Send(0.2f); await Task.Delay(1000); OscAxisInput.LookVertical.Send(0f); OscButtonInput.Jump.Press(); await Task.Delay(1000); OscButtonInput.Jump.Release(); ABOUT CHATBOX If you want to use button input with OSC, use classes in BuildSoft.VRChat.Osc.Chatbox. E.G.) SEND A STRING TO CHATBOX using BuildSoft.VRChat.Osc.Chatbox; OscChatbox.SendMessage("some message", direct: true); E.G.) SEND A STRING TO CHATBOX UI using BuildSoft.VRChat.Osc.Chatbox; OscChatbox.SendMessage("some message", direct: false); E.G.) ACT LIKE TYPING using BuildSoft.VRChat.Osc.Chatbox; using System.Threading.Tasks; // typing during 3 second. OscChatbox.SetIsTyping(true); await Task.Delay(3000); OscChatbox.SendMessage("some message", direct: true); Copyright © 2021-2024 Chanya Kushima All rights reserved.