Method ChunkComponentReadOnly
ChunkComponentReadOnly<T>()
Returns a Component
Declaration
[GenerateTestsForBurstCompatibility(GenericTypeArguments = new Type[] { typeof(Entity) })]
public static ComponentType ChunkComponentReadOnly<T>()
Returns
Type | Description |
---|---|
Component |
The chunk component type |
Type Parameters
Name | Description |
---|---|
T | The type |
ChunkComponentReadOnly(Type)
Returns a Component
Declaration
[ExcludeFromBurstCompatTesting("Takes a managed Type")]
public static ComponentType ChunkComponentReadOnly(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | The type |
Returns
Type | Description |
---|---|
Component |
The chunk component type |