> For the complete documentation index, see [llms.txt](https://engine3d.gitbook.io/wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://engine3d.gitbook.io/wiki/guide/understanding-this-project.md).

# Understanding this Project

### 3D Engine Class Diagram

<figure><img src="https://518400696-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFQ0NAsexBZFs3RihmQyK%2Fuploads%2F8OLGndGKzd1P1obhJ8mJ%2FClassDiagram.png?alt=media&amp;token=928087a2-3cfd-4694-ac3d-bf8c0e41ee03" alt=""><figcaption><p>3D Engine Class Diagram</p></figcaption></figure>

## Solution

The 3D Engine contains three Projects:&#x20;

* 3DEngine (Package)
* Editor
* Engine

You can compile the **3DEngine (Package)** for the Editor and the **Engine** as a standalone.&#x20;

### NuGet Package

You can also only get the Engine with the NuGet Package Manager and create applications using the 3DEngine (w/o Editor) in a new project and implement all features via code.

<pre class="language-batch"><code class="lang-batch"><strong>dotnet new console -n Project
</strong>cd Project
dotnet add package 3DEngine
dotnet add package Costura.Fody
</code></pre>

Engine usage:&#x20;

```csharp
sealed class Program
{
    [STAThread]
    private static void Main() =>
        new Engine.Program().Run(true);
}
```

Use the Engine Core to get to the Scene System.

{% content-ref url="/pages/GQ2pz941BZ2S6h9980ks" %}
[Core](/wiki/engine/core.md)
{% endcontent-ref %}

Project Setup:

```xml
<Project Sdk="Microsoft.NET.Sdk">

	<PropertyGroup>
		<OutputType>WinExe</OutputType>
		<TargetFramework>net7.0-windows10.0.19041.0</TargetFramework>
		<ImplicitUsings>enable</ImplicitUsings>
		<Nullable>enable</Nullable>
		<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
		<PlatformTarget>x64</PlatformTarget>
		<PublishAot>true</PublishAot>
		<ImplicitUsings>enable</ImplicitUsings>
	</PropertyGroup>

	<ItemGroup>
	  <None Remove="FodyWeavers.xml" />
	</ItemGroup>

	<ItemGroup>
		<PackageReference Include="3DEngine" Version="1.0.1" />
		<PackageReference Include="Costura.Fody" Version="5.7.0">
		  <PrivateAssets>all</PrivateAssets>
		</PackageReference>
	</ItemGroup>

</Project>
```

Also set the Files inside the Assets Folder to "CopyIfNewer" in the Properties Panel inside Visual Studio, so it is included in the Build Folder. This will be obsolete in the Future by the USD Format.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://engine3d.gitbook.io/wiki/guide/understanding-this-project.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
