文档

Unity Engine

Download Unity

Unity Engine

ChunkComponentExclude

Returns a ComponentType that is a chunk component with ComponentType.AccessMode.Exclude based on the type.
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule

ChunkComponentExclude<T>()

Returns a ComponentType that is a chunk component with ComponentType.AccessMode.Exclude based on the type.
public static ComponentType ChunkComponentExclude<T>()

Returns

Type

Description

ComponentTypeThe chunk component type

ChunkComponentExclude(Type)

Returns a ComponentType that is a chunk component with ComponentType.AccessMode.Exclude based on the type.
[ExcludeFromBurstCompatTesting("Takes a managed Type")]public static ComponentType ChunkComponentExclude(Type type)

Parameters

type

The type

Returns

Type

Description

ComponentTypeThe chunk component type