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 (WorldContext worldContext, uint handle)
NativeComponentRef< T > GetNativeComponentRef< T > ()
readonly override bool Equals (object? obj)
readonly override int GetHashCode ()
void Destroy ()
T? CreateComponent< T > ()
readonly bool TryGetComponent< T > (out T? returnValue)
readonly bool HasComponent< T > ()
readonly? T GetComponent< T > ()
void DeleteComponent< T > ()
static void EntityMarkForDeletion (IntPtr worldContextHandle, uint entity)

Static Public Member Functions

static bool operator== (Entity a, Entity b)
static bool operator!= (Entity a, Entity b)
static implicit operator bool (Entity entity)

Static Public Attributes

static readonly uint InvalidHandle = uint.MaxValue

Properties

bool IsValid [get]
uint Handle [get]
WorldContext WorldContext [get]

Member Function Documentation

◆ GetNativeComponentRef< T >()

NativeComponentRef< T > Grindstone.Entity.GetNativeComponentRef< T > ( )
inline
Type Constraints
T :unmanaged 

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