Skip to content
This repository was archived by the owner on Jul 12, 2022. It is now read-only.

EntityShortID

aa edited this page Oct 25, 2021 · 5 revisions

Namespace: Syadeu.Collections
File: EntityShortID.cs

public readonly struct EntityShortID : IEmpty, IEquatable<EntityShortID>, IEquatable<EntityID>

EntityData<T>, Entity<T> 의 인스턴스 4 bytes ID 입니다.

Inheritance: System.Object -> EntityShortID
Implements: IEmpty, IEquatable<T>

Overview

  • 8 bytes Hash ID 값을 메모리 절약을 위해 4 byte uint 로 변환된 Entity ID 입니다.

Remarks

EntityShortID 는 단방향 알고리듬을 통해 생성되며 8 bytes 로 재 변환이 되지않으나, EntityIDModule 에서 제공되는 추가 확장 메소드를 통해 다시 Convert 될 수 있습니다.

Description

양방향 Convert 가 필요하지 않은 경우에는 단순히 ctor(EntityID) 로 사용될 수 있습니다. 양방향 Convert 가 필요한 경우에는 EntityExtensionMethods 를 참조하세요. 양방향 Convert 를 사용하려면 ctor 이 아닌 EntityExtensionMethods.GetShortID 를 통해 ID 가 발급되어야 합니다.

Examples


- Interfaces
- Enums
- Attributes
- Abstract Classes
- Classes
- Structs
- Exceptions

- Syadeu.Presentation
- Syadeu.Collections
- Syadeu.Collections.Converters
- Syadeu.Collections.Proxy
- Syadeu.Presentation.Proxy
- Syadeu.Presentation.Internal
- Syadeu.Presentation.Entities
- Syadeu.Presentation.Attributes
- Syadeu.Presentation.Components
- Syadeu.Presentation.Actions
- Syadeu.Presentation.Render
  • CameraData
  • CameraFrustum
  • IntersectionType
  • RenderSystem
  • WorldCanvasSystem
- Syadeu.Presentation.Data
  • DataContainerSystem
  • DataObjectBase
  • EntityAnimationClipEventData
- Syadeu.Presentation.Events

Clone this wiki locally