Description: The Gore NewGoreDirect is a package library in C# that allows for the creation and management of new Gore effects in applications. With this library, developers can easily implement gore effects like blood splatters and wound textures in their games or other software.
Code Example 1:
using Gore.NewGoreDirect;
public class MyGame : Game { private GoreDirect goreDirect;
public void KillEnemy(Vector2 position) { goreDirect.CreateBloodSplatter(position); } }
Example 1: This example shows how to use the Gore NewGoreDirect library to create a blood splatter effect when an enemy is killed. The GoreDirect class is initialized and its Enabled property is set to true to enable gore effects. The CreateBloodSplatter method is called with the position of the enemy's death.
Code Example 2:
using Gore.NewGoreDirect;
public class MyGame : Game { private GoreDirect goreDirect;
Example 2: This example shows how to use the Gore NewGoreDirect library to create a wound texture effect. The GoreDirect class is initialized and its Enabled property is set to true to enable gore effects. The CreateWound method is called with the position and rotation of the wound.
Determination: The package library used in these examples is Gore NewGoreDirect.
C# (CSharp) Gore.NewGoreDirect - 30 examples found. These are the top rated real world C# (CSharp) examples of Gore.NewGoreDirect extracted from open source projects. You can rate examples to help us improve the quality of examples.