Skip to main content

EntityInfo

A class in Root.Township, Alta.Console.Commands.

A summary of a network entity returned by console commands: IDs, prefab, position and rotation. Any NetworkEntity converts to it.

Constructors​

MemberWhat it is
EntityInfo()Creates an EntityInfo with default values.

Properties​

MemberWhat it is
uint ChunkingParent { get; set; }ID of the entity's chunking parent, or 0.
uint Identifier { get; set; }The entity's network ID.
string Name { get; set; }The entity's GameObject name, which starts with its ID once initialized.
Vector3 Position { get; set; }World position.
uint PrefabHash { get; set; }Hash of the prefab at the entity's root, or 0.
uint RootIdentifier { get; set; }Network ID of the entity's prefab root.
Vector3 Rotation { get; set; }World rotation as Euler angles.

Methods​

MemberWhat it is
static EntityInfo op_Implicit(NetworkEntity entity)Builds the summary from a network entity.

Used in​

Members of other types that take, return or hold a EntityInfo: