Documentation

Unity Engine


Unity Engine


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

ComponentTypeThe 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

type

The type

Returns

Type

Description

ComponentTypeThe chunk component type