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