mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-04-19 05:48:07 -04:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
13 lines
369 B
C#
13 lines
369 B
C#
|
|
namespace Editor.MeshEditor;
|
|
|
|
/// <summary>
|
|
/// A mesh element can be a vertex, edge or face belonging to a mesh
|
|
/// </summary>
|
|
public interface IMeshElement : IValid
|
|
{
|
|
public MeshComponent Component { get; }
|
|
public GameObject GameObject => Component.IsValid() ? Component.GameObject : null;
|
|
public Scene Scene => Component.IsValid() ? Component.Scene : null;
|
|
}
|