matt
one month ago
#1
May Update : news/may-2025
Mouse.Visibility = IsOrbiting ? MouseVisibility.Hidden : MouseVisibility.Auto;
// Is the W key down this frame? if ( Input.Keyboard.Down( "W" ) ) { Log.Info( "W is down!" ); } // Was the W key pressed this frame? if ( Input.Keyboard.Pressed( "W" ) ) { Log.Info( "W was pressed!" ); } // Was the W key released this frame? if ( Input.Keyboard.Released( "W" ) ) { Log.Info( "W was released!" ); }
[Output( typeof( Vector3 ) ), Hide] public NodeResult.Func Result => ( GraphCompiler compiler ) => { compiler.RegisterInclude( "procedural.hlsl" ); // #include procedural.hlsl string func = compiler.RegisterFunction( MyCustomFunction ); string funcCall = compiler.ResultFunction( func, $"{compiler.ResultOrDefault( Color, Vector3.One )}" ); return new NodeResult( 3, funcCall ); };