KROYSDOCS
HomeWhat's newv0.1.0
PLUGIN SDK / Scene / Entity

Entity

An entity of a world (0: none).

Kindrecord struct
NamespaceKroys.Plugins
Members4
SourceTypes.cs
DECLARATION

Declaration

Namespace Kroys.Plugins, assembly KroysPlugins.Sdk.dll.

Declaration
public readonly record struct Entity(ulong Id)
REFERENCE

Members

Constructors
#public Entity(ulong Id)
An entity of a world (0: none).
Id
The engine's generational entity id (0: none).
constructor
Properties
#public ulong Id { get; init; }
The engine's generational entity id (0: none).
property
#public bool IsNone { get; }
True when this is no entity.
property
Fields
#public static readonly Entity None
No entity.
fieldstatic
Signatures
public Entity(ulong Id)
public ulong Id { get; init; }
public static readonly Entity None
public bool IsNone { get; }

KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.