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