SCRIPTING API / Scripts and entities / EntityRef
EntityRef
Serializable reference to a scene entity by GUID.
Kindstruct
NamespaceKroys.EngineScripting
Members3
Source
EntityRef.csDECLARATION
Declaration
Namespace Kroys.EngineScripting.
Declaration
public readonly struct EntityRef
REFERENCE
Members
Constructors
#public EntityRef(Guid entityGuid)Creates an entity reference from a serialized entity GUID.
Properties
#public Guid EntityGuid { get; }Gets the serialized entity GUID.
#public bool IsValid { get; }Gets whether this reference contains a non-empty GUID.
Signatures
public EntityRef(Guid entityGuid) public Guid EntityGuid { get; } public bool IsValid { get; }
KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.