Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Grindstone.Entity Struct Reference

Public Member Functions

 Entity (uint handle, Scene scene)
CreateComponent< T > ()
T? GetComponent< T > ()
TransformComponent GetTransformComponent ()
TagComponent GetTagComponent ()
void DeleteComponent< T > ()
static System.IntPtr EntityGetTransformComponent (System.IntPtr scene, uint entity)
static System.IntPtr EntityGetTagComponent (System.IntPtr scene, uint entity)
static System.IntPtr EntityGetComponentByType (System.IntPtr scene, uint entity, uint componentType)

Public Attributes

uint entityHandle
Scene scene

Static Public Attributes

static readonly uint InvalidHandle = uint.MaxValue

The documentation for this struct was generated from the following file:
  • /github/workspace/plugins/Grindstone.Script.CSharp/CSharpCore/ECS/Entity.cs