Documentation

Unity Engine


Unity Engine


Exclude

Returns a ComponentType with ComponentType.AccessMode.Exclude based on the type.
Read time 1 minuteLast updated 3 days ago

Definition

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

Exclude(Type)

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

Parameters

type

The type

Returns

Type

Description

ComponentTypeThe component type

Exclude(TypeIndex)

Returns a ComponentType with ComponentType.AccessMode.Exclude based on the typeIndex.
public static ComponentType Exclude(TypeIndex typeIndex)

Parameters

typeIndex

The index

Returns

Type

Description

ComponentTypeThe component type

Exclude<T>()

Returns a ComponentType with ComponentType.AccessMode.Exclude based on the generic type T.
public static ComponentType Exclude<T>()

Returns

Type

Description

ComponentTypeThe component type