Table of Contents

Class ComponentInfo

Namespace
KeenEyes
Assembly
KeenEyes.Core.dll

Runtime metadata for a registered component type within a specific World.

public sealed class ComponentInfo : IComponentInfo
Inheritance
ComponentInfo
Implements
IComponentInfo
Inherited Members

Properties

Id

Unique identifier for this component type within the owning World.

public ComponentId Id { get; }

Property Value

ComponentId

IsTag

Whether this is a tag component (zero-size marker).

public bool IsTag { get; }

Property Value

bool

Name

The name of the component type.

public string Name { get; }

Property Value

string

Size

Size of the component in bytes. Zero for tag components.

public int Size { get; }

Property Value

int

Type

The CLR type of this component.

public Type Type { get; }

Property Value

Type

Version

The schema version of this component for migration support. Default is 1 for components that don't specify a version.

public int Version { get; }

Property Value

int

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.