Table of Contents

Struct RegisteredComponentInfo

Namespace
KeenEyes.Capabilities
Assembly
KeenEyes.Abstractions.dll

Contains metadata about a registered component type.

public readonly record struct RegisteredComponentInfo : IEquatable<RegisteredComponentInfo>
Implements
Inherited Members

Constructors

RegisteredComponentInfo(Type, string, int, bool)

Contains metadata about a registered component type.

public RegisteredComponentInfo(Type Type, string Name, int Size, bool IsTag)

Parameters

Type Type

The CLR type of the component.

Name string

The name of the component type.

Size int

The size of the component in bytes.

IsTag bool

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

Properties

IsTag

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

public bool IsTag { get; init; }

Property Value

bool

Name

The name of the component type.

public string Name { get; init; }

Property Value

string

Size

The size of the component in bytes.

public int Size { get; init; }

Property Value

int

Type

The CLR type of the component.

public Type Type { get; init; }

Property Value

Type