Class ComponentInfo
- Namespace
- KeenEyes
- Assembly
- KeenEyes.Core.dll
Runtime metadata for a registered component type within a specific World.
public sealed class ComponentInfo
- Inheritance
-
ComponentInfo
- Inherited Members
Properties
Id
Unique identifier for this component type within the owning World.
public ComponentId Id { get; }
Property Value
IsTag
Whether this is a tag component (zero-size marker).
public bool IsTag { get; }
Property Value
Name
The name of the component type.
public string Name { get; }
Property Value
Size
Size of the component in bytes. Zero for tag components.
public int Size { get; }
Property Value
Type
The CLR type of this component.
public Type Type { get; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.