ChunkComponent
Returns a ComponentType that is a chunk component with ComponentType.AccessMode.ReadWrite based on the type.
Read time 1 minuteLast updated 3 days ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
ChunkComponent(Type)
Returns a ComponentType that is a chunk component with ComponentType.AccessMode.ReadWrite based on the type.
[ExcludeFromBurstCompatTesting("Takes a managed Type")]public static ComponentType ChunkComponent(Type type)
Parameters
The type
Returns
Type | Description |
|---|---|
| ComponentType | The chunk component type |
ChunkComponent<T>()
Returns a ComponentType that is a chunk component with ComponentType.AccessMode.ReadWrite based on the type.
public static ComponentType ChunkComponent<T>()
Returns
Type | Description |
|---|---|
| ComponentType | The chunk component type |